clippy 0.0.171

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
error: `--x` could be misinterpreted as pre-decrement by C programmers, is usually a no-op
 --> $DIR/double_neg.rs:9:5
  |
9 |     --x;
  |     ^^^
  |
  = note: `-D double-neg` implied by `-D warnings`