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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- 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()`
- Impl trait lifetime mismatch
- New clippy::cargo-toml lint category
- Docs
- Rust not yet supported