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
- lint overbroad lock scopes
- Incorrect hints from trivial_regex for bytes regexes
- unnecessary_fold: .any and .all may not always be safe replacements of .fold
- Lint using `next_back` when `last` is more appropriate
- Suggestions for toplevel_ref_arg should not move `mut` to the right-hand side
- new lint: catch division by zero in const range
- Identify when buffer is being reused in `read_line` without clearing
- Clippy does not work with sccache set via RUSTC_WRAPPER
- Allow float comparison with zero
- False positive for C-like enums involving configuration-dependent constants
- Docs
- Rust not yet supported