]> git.lizzy.rs Git - rust.git/blob - README.md
Add seanmonstar's StrToString lint
[rust.git] / README.md
1 rust-clippy
2 ===========
3
4 A collection of lints that give helpful tips to newbies.
5
6
7 Lints included in this crate:
8
9  - `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.
10  - `clippy_box_vec`: Warns on usage of `Box<Vec<T>>`
11  - `clippy_dlist`: Warns on usage of `DList`
12  - `clippy_str_to_string`: Warns on usage of `str::to_string()`
13
14 More to come, please [file an issue](https://github.com/Manishearth/rust-clippy/issues) if you have ideas!
15
16 Licensed under [MPL](https://www.mozilla.org/MPL/2.0/). If you're having issues with the license, let me know and I'll try to change it to something more permissive.