summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/unreadable_literal.txt
blob: e168f90a84c19a56a23eeeffc1db1a2b3b0b254e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### What it does
Warns if a long integral or floating-point constant does
not contain underscores.

### Why is this bad?
Reading long numbers is difficult without separators.

### Example
```
61864918973511
```

Use instead:
```
61_864_918_973_511
```