summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/src/docs/just_underscores_and_digits.txt
blob: a8790bcf25be6175547827c0908cd0bce21616ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
### What it does
Checks if you have variables whose name consists of just
underscores and digits.

### Why is this bad?
It's hard to memorize what a variable means without a
descriptive name.

### Example
```
let _1 = 1;
let ___1 = 1;
let __1___2 = 11;
```