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
- Unifying an invariant lifetime with a covariant one is almost always bad
- New lint to ensure `Default::default` calls `T::new`, rather than vice versa.
- `map_flatten` could suggest `filter(matches!())` in case of `map( match { _ => Option }).flatten()`
- fn_to_numeric_cast_any should not warn cast to pointer
- False positivie (I think): blocks_in_conditions
- `clippy::manual_unwrap_or_default` triggers on macro generated code
- "if not this separator or not that separator" misunderstanding
- needless_borrow false positives when borrowing a struct before calling a function on that struct
- nonminimal_bool and macros
- Tracking Issue: lints that lint against `match` and `if-let`s should be more consistent
- Docs
- Rust not yet supported