about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Freese <dvfreese@gmail.com>2020-04-29 12:16:32 -0700
committerGitHub <noreply@github.com>2020-04-29 12:16:32 -0700
commit610f94423100b9ec6b5190032c9e213af5c099de (patch)
treed7e52bde56bc3dda70285d7805f44009d268aff1
parent4813a81432da746d9094438760bcac5c161c75fe (diff)
downloadrust-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.rs2
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