mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
Empowering everyone to build reliable and efficient software.
examples | ||
src | ||
.gitignore | ||
Cargo.toml | ||
README.md |
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 recommendsif let
instead.clippy_box_vec
: Warns on usage ofBox<Vec<T>>
clippy_dlist
: Warns on usage ofDList
More to come, please file an issue if you have ideas!