Rollup merge of #46416 - liigo:cfg-macro, r=steveklabnik
doc: macro `cfg!` evaluating at compile-time
This commit is contained in:
commit
912def328f
2 changed files with 2 additions and 2 deletions
|
@ -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!`].
|
||||
///
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue