Skip to content

Commit b271cb1

Browse files
committed
Add docs
1 parent 1067a1c commit b271cb1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

crates/ra_cfg/src/cfg_expr.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
15
use std::slice::Iter as SliceIter;
26

37
use ra_syntax::SmolStr;

crates/ra_hir/src/attr.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//! A higher level attributes based on TokenTree, with also some shortcuts.
2+
13
use std::sync::Arc;
24

35
use mbe::ast_to_token_tree;

0 commit comments

Comments
 (0)