rust-clippy
https://github.com/rust-lang-nursery/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code
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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Lint against `HashMap`s where the key is not `Eq + Hash`
- unnecessary_cast false positive when casting pointers to types with lifetime parameters
- lines().count() should warn in case of Err
- Some warnings are not reported if rust-src component is not installed
- Borrow incorrectly handled when trying to simplify return statement
- `unnecessary-operation` suggestion on `[();1][<expr>]` is werid
- New lint against implicit coersion of pointers to types to pointers to trait objects
- `clippy::used_underscore_binding` fires on an unused function parameter
- Lint for trailing comma in macro parameters
- needless_pub_self lint when necessary for crate macros
- Docs
- Rust not yet supported