aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_cfg/src/cfg_expr.rs4
-rw-r--r--crates/ra_hir/src/attr.rs2
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
1use std::slice::Iter as SliceIter; 5use std::slice::Iter as SliceIter;
2 6
3use ra_syntax::SmolStr; 7use 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
1use std::sync::Arc; 3use std::sync::Arc;
2 4
3use mbe::ast_to_token_tree; 5use mbe::ast_to_token_tree;