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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- temporary with significant Drop can be early dropped
- `redundant_async_block` not catching uses with nontrivial futures
- `undocumented_unsafe_blocks` doesn't recognise safety comments before `const`s in `impl` blocks
- 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
- 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.
- Docs
- Rust not yet supported