clippy 0.0.192

A bunch of helpful lints to avoid common pitfalls in Rust
1
2
3
4
5
6
7
8
9
10



#[warn(double_neg)]
fn main() {
    let x = 1;
    -x;
    -(-x);
    --x;
}