Skip to content

Commit

Permalink
Rollup merge of rust-lang#46416 - liigo:cfg-macro, r=steveklabnik
Browse files Browse the repository at this point in the history
doc: macro `cfg!` evaluating at compile-time
  • Loading branch information
GuillaumeGomez authored Dec 7, 2017
2 parents 9c49f40 + 9e281cc commit 912def3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libcore/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,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!`].
///
Expand Down
2 changes: 1 addition & 1 deletion src/libstd/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,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
Expand Down

0 comments on commit 912def3

Please sign in to comment.