From 9e281cc6a57417714335ae6e4e476315f6064b39 Mon Sep 17 00:00:00 2001 From: Liigo Zhuang Date: Fri, 1 Dec 2017 13:32:56 +0800 Subject: [PATCH] doc: macro `cfg!` evaluating at compile-time --- src/libcore/macros.rs | 2 +- src/libstd/macros.rs | 2 +- 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 @@ macro_rules! include_bytes { ($file:expr) => ({ /* compiler built-in */ }) } #[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 @@ macro_rules! include_bytes { ($file:expr) => ({ /* compiler built-in */ }) } #[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