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 supported28 Subscribers
View all SubscribersAdd a CodeTriage badge to rust-clippy
Help out
- Issues
- `indexing_slicing` ignores `match` for length
- fix(non_zero_suggestions): don't lint signed integer div/rem as NonZero
- New lint: `iter_missing_exact_size`
- Since 1.97 Clippy flags else return { None } under question_mark, even in longer chains
- `non_zero_suggestions` suggestion on signed `/` and `%` auto-fixes to code that will not compile
- Fix needless_collect suggests a suggestion that cannot be typed
- `ref_binding_to_reference` advises to return a reference that doesn't live long enough
- clippy --fix can eat comments
- `clippy::unwrap-or-default` ignores MSRV
- For `RefCell<T> where T: Copy` suggest `Cell<T>` instead
- Docs
- Rust not yet supported