summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/unusual_byte_groupings.txt
blob: 9a1f132a6112fb335b129dfb1fdf14ff892b4719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
### What it does
Warns if hexadecimal or binary literals are not grouped
by nibble or byte.

### Why is this bad?
Negatively impacts readability.

### Example
```
let x: u32 = 0xFFF_FFF;
let y: u8 = 0b01_011_101;
```