clippy 0.0.10

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

#![deny(string_add_assign)]

fn main() {
	let x = "".to_owned();
	
	for i in (1..3) {
		x = x + "."; //~ERROR
	}
}