We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4813a81 commit 610f944Copy full SHA for 610f944
src/libcore/macros/mod.rs
@@ -1160,7 +1160,7 @@ pub(crate) mod builtin {
1160
/// attribute.
1161
///
1162
/// `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
+ /// example, all blocks in an if/else expression need to be valid when `cfg!` is used for
1164
/// the condition, regardless of what `cfg!` is evaluating.
1165
1166
/// [`cfg`]: ../reference/conditional-compilation.html#the-cfg-attribute
0 commit comments