Skip to content

Commit 912def3

Browse files
Rollup merge of rust-lang#46416 - liigo:cfg-macro, r=steveklabnik
doc: macro `cfg!` evaluating at compile-time
2 parents 9c49f40 + 9e281cc commit 912def3

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
@@ -736,7 +736,7 @@ mod builtin {
736736
#[cfg(dox)]
737737
macro_rules! module_path { () => ({ /* compiler built-in */ }) }
738738

739-
/// Boolean evaluation of configuration flags.
739+
/// Boolean evaluation of configuration flags, at compile-time.
740740
///
741741
/// For more information, see the documentation for [`std::cfg!`].
742742
///

src/libstd/macros.rs

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

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

0 commit comments

Comments
 (0)