Skip to content

Commit 3bf3402

Browse files
authored
Merge pull request #1763 from joshtriplett/use-cfg-false
Use `cfg(false)` instead of `cfg(FALSE)`
2 parents 907ec0c + 398b59d commit 3bf3402

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/items/enumerations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ macro_rules! mac_variant {
345345
mac_variant! { E }
346346

347347
// This is allowed, since it is removed before being validated.
348-
#[cfg(FALSE)]
348+
#[cfg(false)]
349349
enum E {
350350
pub U,
351351
pub(crate) T(u8),

src/tokens.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ Note that `-1i8`, for example, is analyzed as two tokens: `-` followed by `1i8`.
612612
Examples of integer literals which are not accepted as literal expressions:
613613

614614
```rust
615-
# #[cfg(FALSE)] {
615+
# #[cfg(false)] {
616616
0invalidSuffix;
617617
123AFB43;
618618
0b010a;
@@ -697,7 +697,7 @@ Note that `-1.0`, for example, is analyzed as two tokens: `-` followed by `1.0`.
697697
Examples of floating-point literals which are not accepted as literal expressions:
698698

699699
```rust
700-
# #[cfg(FALSE)] {
700+
# #[cfg(false)] {
701701
2.0f80;
702702
2e5f80;
703703
2e5e6;

0 commit comments

Comments
 (0)