rust-clippy
https://github.com/rust-lang/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Rust not yet supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Restriction lint for constructing a type with a Drop impl from a raw pointer
- New lint: replace `iter.filter(x).count() > 0` with `iter.any(x)`
- New lint: map_unwrap_or_bool
- catch suspicious clones: let foo = foo.clone(); (to appease borrowck)
- option_if_let_else suggests map_or instead of map_or_else even if else branch contains a function call
- New lint: Unused temporary variable
- useless_asref message not accurate for mut slices
- False positive in trivially_copy_pass_by_ref where reference is used
- New lint: deriving Deserialize on a struct with &str
- unwrap_used lint fires for #[test]ing code
- Docs
- Rust not yet supported