]> git.lizzy.rs Git - rust.git/blob - src/docs/unseparated_literal_suffix.txt
Auto merge of #9425 - kraktus:patch-1, r=xFrednet
[rust.git] / src / docs / unseparated_literal_suffix.txt
1 ### What it does
2 Warns if literal suffixes are not separated by an
3 underscore.
4 To enforce unseparated literal suffix style,
5 see the `separated_literal_suffix` lint.
6
7 ### Why is this bad?
8 Suffix style should be consistent.
9
10 ### Example
11 ```
12 123832i32
13 ```
14
15 Use instead:
16 ```
17 123832_i32
18 ```