aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authoruHOOCCOOHu <[email protected]>2019-10-02 19:50:22 +0100
committeruHOOCCOOHu <[email protected]>2019-10-02 19:50:22 +0100
commitb271cb18d5ab19624e751867df6705cd1e94edbc (patch)
tree0bda9053cf7def206013ed37a92d39e27270e472 /crates
parent1067a1c5f649cc206e35b427eaa8d6553280cc96 (diff)
Add docs
Diffstat (limited to 'crates')
-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;