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
- Lifetime conficts when recommending closures
- Flag let _ = ... as dangerous
- `clippy::return_self_not_must_use` is overreaching
- New lint: warn againt matching on all-private struct
- [ptr_arg] writing `&Vec<_>` instead of `&[_]` has a important performance impact (~20%)
- needless_range_loop suggestion improvement
- New lint: `a = b.splice(.., a).collect()`
- Suggest `collect`ing a range instead of pushing `i` onto vector in a `for` loop
- unused_rust_features lint
- `return_self_not_must_use` is reported for types that already have a `#[must_use]` attribute
- Docs
- Rust not yet supported