rust-clippy
https://github.com/rust-lang/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
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
- Add lint `manual_option_folding`
- New lint: `repr_transparent`
- [Clippy made me do this] clippy failing to apply fixes
- regression: bad fix for clippy::useless_conversion on auto-Deref conversions e.g. &&[T]
- needless_borrowed_reference for lambdas not immediately typed
- Avoid: call any()/all() on iterator after had called collect(), like: vec![1, 2, 3].iter().filter(...).collect().iter().any(...)
- `redundant_locals` suggestion may change a closure's trait impls
- Clippy `contains_key` followed by `insert` suggestion won’t compile
- `float_cmp` could catch float literals in `match` expressions
- Confusing`try_fold` suggestion from Clippy
- Docs
- Rust not yet supported