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
- Allow numbers in module_name_repetitions
- assigning_clones false positive for Option<T> where T uses default clone_from impl
- `haystack.ends_with(needle)` doesn't silence `clippy::arithmetic_side_effects` caused by `haystack.len()-needle.len()`
- lint: Unnecessary intermediary conversion
- clippy-driver acts as a bogus rustc wrapper
- `let_unit_value` and `no_effect` trigger for static assertions
- manual_async_fn suggestions breaks code if !Send types involved
- 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()`
- Docs
- Rust not yet supported