Skip to content

Commit edb39b8

Browse files
committed
Boolean literals are not Number literals
The current indentation level would indicate that Boolean literals are on the same level as Integer and Float literals under Number literals, unindenting moves it to the same scope as Character and string literals, Byte and byte string literals, and Number literals under Literals.
1 parent f9a4849 commit edb39b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ This last example is different because it is not possible to use the suffix
518518
syntax with a floating point literal ending in a period. `2.f64` would attempt
519519
to call a method named `f64` on `2`.
520520

521-
##### Boolean literals
521+
#### Boolean literals
522522

523523
The two values of the boolean type are written `true` and `false`.
524524

0 commit comments

Comments
 (0)