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: use Vec::new instead of Vec::with_capacity(0)
- Fix `map_unwrap_or` suggests wrongly for conflict borrowing
- `clippy::collapsible_match` code suggestion is not valid Rust
- `enum_variant_names` warns on enum variants with the same name as the type
- Fix: enum prefix/suffix matching lint should not fire when variant has the same name as the container type
- New Lint: temporary lock guards in if let / while let / match scrutinees
- `question_mark` suggestion has redundant block scope
- `question_mark` false negative with and_then
- Add `manual_min_max` lint
- Lint nested `format_args!` for uninlined args
- Docs
- Rust not yet supported