This commit is contained in:
Manish Goregaokar 2014-11-20 00:49:03 +05:30
parent 883b834068
commit 7cf7e4368f
1 changed files with 8 additions and 0 deletions

View File

@ -2,3 +2,11 @@ rust-clippy
===========
A collection of lints that give helpful tips to newbies.
Lints included in this crate:
- `clippy_single_match`: Warns when a match statement with a single nontrivial arm (i.e, where the other arm is `_ => {}`) is used, and recommends `if let` instead.
- `clippy_box_vec`: Warns on usage of `Box<Vec<T>>`
More to come, please [file an issue](https://github.com/Manishearth/rust-clippy/issues) if you have ideas!