diff options
-rw-r--r-- | crates/ra_cfg/src/cfg_expr.rs | 4 | ||||
-rw-r--r-- | crates/ra_hir/src/attr.rs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_cfg/src/cfg_expr.rs b/crates/ra_cfg/src/cfg_expr.rs index 811f83048..39d71851c 100644 --- a/crates/ra_cfg/src/cfg_expr.rs +++ b/crates/ra_cfg/src/cfg_expr.rs | |||
@@ -1,3 +1,7 @@ | |||
1 | //! The condition expression used in `#[cfg(..)]` attributes. | ||
2 | //! | ||
3 | //! See: https://doc.rust-lang.org/reference/conditional-compilation.html#conditional-compilation | ||
4 | |||
1 | use std::slice::Iter as SliceIter; | 5 | use std::slice::Iter as SliceIter; |
2 | 6 | ||
3 | use ra_syntax::SmolStr; | 7 | use ra_syntax::SmolStr; |
diff --git a/crates/ra_hir/src/attr.rs b/crates/ra_hir/src/attr.rs index a8a7e9006..f67e80bfd 100644 --- a/crates/ra_hir/src/attr.rs +++ b/crates/ra_hir/src/attr.rs | |||
@@ -1,3 +1,5 @@ | |||
1 | //! A higher level attributes based on TokenTree, with also some shortcuts. | ||
2 | |||
1 | use std::sync::Arc; | 3 | use std::sync::Arc; |
2 | 4 | ||
3 | use mbe::ast_to_token_tree; | 5 | use mbe::ast_to_token_tree; |