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 suggestion: `cfg!(not(...))` vs `!cfg!(...)`
- Possibly unintended use of unary `!` of non-`bool` type on left side of boolean expression/comparison
- `needless_lifetimes` removes lifetimes that are actually necessary
- `clippy::default_trait_access` can give incorrect suggestion
- `missing_inline_in_public_items` triggers for `impl From<Private> for Public`
- needless_pass_by_ref_mut triggers on mutable raw pointer
- Deny `static mut` declarations entirely
- unnecessary_operation fires wrongly when extracting `!`
- Add lints against more manual integer ops where direct methods exist
- Changing `bool` to `Result<(), ()>` in function return type leads to clippy warnings
- Docs
- Rust not yet supported