Skip to content

Commit 13d2a2c

Browse files
authored
Merge pull request #1157 from mikong/fix-grammar-section-2-1
Fix grammar in sentence about integer notation
2 parents 6fa6d9e + 78168dc commit 13d2a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primitives/literals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Integers `1`, floats `1.2`, characters `'a'`, strings `"abc"`, booleans `true`
44
and the unit type `()` can be expressed using literals.
55

66
Integers can, alternatively, be expressed using hexadecimal, octal or binary
7-
notation using either of these prefixes: `0x`, `0o` or `0b`.
7+
notation using these prefixes respectively: `0x`, `0o` or `0b`.
88

99
Underscores can be inserted in numeric literals to improve readability, e.g.
1010
`1_000` is the same as `1000`, and `0.000_001` is the same as `0.000001`.

0 commit comments

Comments
 (0)