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
- Replace `map_or(false, ...)` with `is_some_and` or `is_ok_and`
- `redundant_guards` on match guard of an expression rebinding
- `borrowed_box` warnings on functions that returns `U<&V>` where `V` happens to be `Box<T>`
- `shadow_unrelated` should permit `for` loops
- New lint suggestion: Avoid inherent methods on generic smart pointers
- `deny_lints`
- [Book]: Add new section for collections of lints, that focus on the same problem
- `result` should not be used as parameter
- max(0) false positive for cast_sign_loss
- `manual_unwrap_or` is not showing for simple ref cases
- Docs
- Rust not yet supported