summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/inconsistent_digit_grouping.txt
blob: aa0b072de1c4080303ccfe7f86ae3e07e3cde095 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
### What it does
Warns if an integral or floating-point constant is
grouped inconsistently with underscores.

### Why is this bad?
Readers may incorrectly interpret inconsistently
grouped digits.

### Example
```
618_64_9189_73_511
```

Use instead:
```
61_864_918_973_511
```