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
- `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`
- `non_zero_suggestions` suggestion on signed `/` and `%` auto-fixes to code that will not compile
- Since 1.97 Clippy flags else return { None } under question_mark, even in longer chains
- Fix needless_collect suggests a suggestion that cannot be typed
- clippy --fix can eat comments
- `clippy::unwrap-or-default` ignores MSRV
- For `RefCell<T> where T: Copy` suggest `Cell<T>` instead
- `manual_filter`: don't eat comments in the `and_then` suggestion
- Docs
- Rust not yet supported