diff options
| author | David Freese <dvfreese@gmail.com> | 2020-04-29 12:16:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-29 12:16:32 -0700 |
| commit | 610f94423100b9ec6b5190032c9e213af5c099de (patch) | |
| tree | d7e52bde56bc3dda70285d7805f44009d268aff1 | |
| parent | 4813a81432da746d9094438760bcac5c161c75fe (diff) | |
| download | rust-610f94423100b9ec6b5190032c9e213af5c099de.tar.gz rust-610f94423100b9ec6b5190032c9e213af5c099de.zip | |
Update src/libcore/macros/mod.rs
Co-Authored-By: kennytm <kennytm@gmail.com>
| -rw-r--r-- | src/libcore/macros/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/macros/mod.rs b/src/libcore/macros/mod.rs index 8de6be86e34..14bfa8bab89 100644 --- a/src/libcore/macros/mod.rs +++ b/src/libcore/macros/mod.rs @@ -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 |
