Skip to content

Commit

Permalink
Update src/libcore/macros/mod.rs
Browse files Browse the repository at this point in the history
Co-Authored-By: kennytm <kennytm@gmail.com>
  • Loading branch information
dfreese and kennytm authored Apr 29, 2020
1 parent 4813a81 commit 610f944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ pub(crate) mod builtin {
/// attribute.
///
/// `cfg!`, unlike `#[cfg]`, does not remove any code and only evaluates to true or false. For
/// example, this means all code in an if/else block needs to be valid when `cfg!` is used for
/// example, all blocks in an if/else expression need to be valid when `cfg!` is used for
/// the condition, regardless of what `cfg!` is evaluating.
///
/// [`cfg`]: ../reference/conditional-compilation.html#the-cfg-attribute
Expand Down

0 comments on commit 610f944

Please sign in to comment.