clippy 0.0.47

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

use std::fmt;

fn main() {
    let x = 1u8;
    format!("{}", x);
}