about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLiigo Zhuang <liigo@qq.com>2017-12-01 13:32:56 +0800
committerLiigo Zhuang <liigo@qq.com>2017-12-01 13:32:56 +0800
commit9e281cc6a57417714335ae6e4e476315f6064b39 (patch)
tree75db8747703ee8962d020283d8b7aa0cdbcc2b54
parentd8a60c9611399b1b5c9c703b975af4724b432b0d (diff)
downloadrust-9e281cc6a57417714335ae6e4e476315f6064b39.tar.gz
rust-9e281cc6a57417714335ae6e4e476315f6064b39.zip
doc: macro `cfg!` evaluating at compile-time
-rw-r--r--src/libcore/macros.rs2
-rw-r--r--src/libstd/macros.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/macros.rs b/src/libcore/macros.rs
index 122baec8e58..770651b61a5 100644
--- a/src/libcore/macros.rs
+++ b/src/libcore/macros.rs
@@ -728,7 +728,7 @@ mod builtin {
     #[cfg(dox)]
     macro_rules! module_path { () => ({ /* compiler built-in */ }) }
 
-    /// Boolean evaluation of configuration flags.
+    /// Boolean evaluation of configuration flags, at compile-time.
     ///
     /// For more information, see the documentation for [`std::cfg!`].
     ///
diff --git a/src/libstd/macros.rs b/src/libstd/macros.rs
index 9d0373404aa..25d59d912e0 100644
--- a/src/libstd/macros.rs
+++ b/src/libstd/macros.rs
@@ -598,7 +598,7 @@ pub mod builtin {
     #[macro_export]
     macro_rules! module_path { () => ({ /* compiler built-in */ }) }
 
-    /// Boolean evaluation of configuration flags.
+    /// Boolean evaluation of configuration flags, at compile-time.
     ///
     /// In addition to the `#[cfg]` attribute, this macro is provided to allow
     /// boolean expression evaluation of configuration flags. This frequently