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 support for binary function calls in suspicious_operation_groupings lint
- Checking for (integer) constants in lints is inconsistent and does not handle all cases (e.g., static constants)
- Lots of incorrect useless_conversion warnings when libc is involved
- Spurious `map_err_ignore` warning when running `cargo clippy` with that warning allowed
- Use the minimal profile in the rust-toolchain file when available
- `transmute_ptr_to_ptr` doesn’t justify its existence
- Clippy suggests !RangeInclusive::contains for exclusive float range comparisons
- await_holding_lock reports explicitly dropped mutex guards as if they weren't dropped
- map_entry does not consider `get()`
- New Lint: Use question mark instead of Option::and_then
- Docs
- Rust not yet supported