blob: a07f67496d7ccec92f2b90254a8bb68bd0632a1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
### What it does
Detects expressions of the form `--x`.
### Why is this bad?
It can mislead C/C++ programmers to think `x` was
decremented.
### Example
```
let mut x = 3;
--x;
```
|