From b271cb18d5ab19624e751867df6705cd1e94edbc Mon Sep 17 00:00:00 2001 From: uHOOCCOOHu Date: Thu, 3 Oct 2019 02:50:22 +0800 Subject: Add docs --- crates/ra_cfg/src/cfg_expr.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crates/ra_cfg/src') 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 @@ +//! The condition expression used in `#[cfg(..)]` attributes. +//! +//! See: https://doc.rust-lang.org/reference/conditional-compilation.html#conditional-compilation + use std::slice::Iter as SliceIter; use ra_syntax::SmolStr; -- cgit v1.2.3