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
- New lint: map then unwrap
- while_let_on_iterator should not trigger on borrowed iterators if the iterator is subsequently used.
- Multiple if-let arms can be replaced with match
- Macros wrapping expressions in `unsafe` blocks when using `unsafe_op_in_unsafe_fn`
- iter() -> into_iter()
- Allow specifying both project-wide and package-specific `clippy.toml` settings
- New lint for all/any after mapping to bool.
- Clippy fix for unwrap_or(T::default()) in the absence of type inference.
- FP single_component_path_imports
- suspicious-operation-groupings generates a false positive, suggested code doesn't even compile
- Docs
- Rust not yet supported