Skip to content

Commit 9e281cc

Browse files
committed
doc: macro cfg! evaluating at compile-time
1 parent d8a60c9 commit 9e281cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,7 @@ mod builtin {
728728
#[cfg(dox)]
729729
macro_rules! module_path { () => ({ /* compiler built-in */ }) }
730730

731-
/// Boolean evaluation of configuration flags.
731+
/// Boolean evaluation of configuration flags, at compile-time.
732732
///
733733
/// For more information, see the documentation for [`std::cfg!`].
734734
///

src/libstd/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ pub mod builtin {
598598
#[macro_export]
599599
macro_rules! module_path { () => ({ /* compiler built-in */ }) }
600600

601-
/// Boolean evaluation of configuration flags.
601+
/// Boolean evaluation of configuration flags, at compile-time.
602602
///
603603
/// In addition to the `#[cfg]` attribute, this macro is provided to allow
604604
/// boolean expression evaluation of configuration flags. This frequently

0 commit comments

Comments
 (0)