Skip to content

Commit a2bfca8

Browse files
committed
Use cfg(false) instead of cfg(FALSE)
1 parent 9502bfe commit a2bfca8

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
@@ -353,7 +353,7 @@ macro_rules! mac_variant {
353353
mac_variant! { E }
354354

355355
// This is allowed, since it is removed before being validated.
356-
#[cfg(FALSE)]
356+
#[cfg(false)]
357357
enum E {
358358
pub U,
359359
pub(crate) T(u8),

src/tokens.md

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

591591
```rust
592-
# #[cfg(FALSE)] {
592+
# #[cfg(false)] {
593593
0invalidSuffix;
594594
123AFB43;
595595
0b010a;
@@ -676,7 +676,7 @@ Note that `-1.0`, for example, is analyzed as two tokens: `-` followed by `1.0`.
676676
Examples of floating-point literals which are not accepted as literal expressions:
677677

678678
```rust
679-
# #[cfg(FALSE)] {
679+
# #[cfg(false)] {
680680
2.0f80;
681681
2e5f80;
682682
2e5e6;

0 commit comments

Comments
 (0)