clippy 0.0.155

A bunch of helpful lints to avoid common pitfalls in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
#![feature(plugin)]
#![plugin(clippy)]

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