Document lint groups

This commit is contained in:
Oliver Schneider 2018-03-29 13:04:52 +02:00
parent eafb9fe8df
commit 82e771d7dc
No known key found for this signature in database
GPG key ID: 1D5CB4FC597C3004

View file

@ -9,6 +9,15 @@ A collection of lints to catch common mistakes and improve your [Rust](https://g
[There are 248 lints included in this crate!](https://rust-lang-nursery.github.io/rust-clippy/master/index.html)
We have a bunch of lint categories to allow you to choose how much clippy is supposed to ~~annoy~~ help you:
* `clippy` (everything that has no false positives)
* `clippy_pedantic` (everything)
* `clippy_style` (code that should be written in a more idiomatic way)
* `complexity` (code that does something simple but in a complex way)
* `perf` (code that can be written in a faster way)
* **`correctness`** (code that is just outright wrong or very very useless)
More to come, please [file an issue](https://github.com/rust-lang-nursery/rust-clippy/issues) if you have ideas!
Table of contents: