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
- suggest .into_iter() instead of .iter() on containers if it's possible to remove clones?
- collapsible_if: comparison chain `x || y` -> `x` -> `y` can be optimized to `x && y`
- Lint nested and independent `if let` clauses
- Suggest `ptr::null()` over `ptr::null_mut()` if the receiver takes `*const`
- New lint: casting &mut T to &mut MaybeUninit<T> and exposing it as safe
- FN needless_collect: vec.extend(range.collect:<Vec<_>>())
- New lint: let statement with no effect
- New lint: replace place statement with drop(place)
- "clippy-driver -Vv" is different from "clippy-driver --version --verbose"
- AsRef antipattern
- Docs
- Rust not yet supported