clippy 0.0.205

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

fn main() {
    #[clippy::author]
    let a = match 42 {
        16 => 5,
        17 => {
            let x = 3;
            x
        },
        _ => 1,
    };
}