Skip to content

Commit 610f944

Browse files
dfreesekennytm
andauthored
Update src/libcore/macros/mod.rs
Co-Authored-By: kennytm <[email protected]>
1 parent 4813a81 commit 610f944

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/macros/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ pub(crate) mod builtin {
11601160
/// attribute.
11611161
///
11621162
/// `cfg!`, unlike `#[cfg]`, does not remove any code and only evaluates to true or false. For
1163-
/// example, this means all code in an if/else block needs to be valid when `cfg!` is used for
1163+
/// example, all blocks in an if/else expression need to be valid when `cfg!` is used for
11641164
/// the condition, regardless of what `cfg!` is evaluating.
11651165
///
11661166
/// [`cfg`]: ../reference/conditional-compilation.html#the-cfg-attribute

0 commit comments

Comments
 (0)