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 supported23 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- FP: `clippy::significant_drop_tightening` shows incorrect drop point with `RwLockWriteGuard::downgrade`
- `unnecessary-option-map-or-else` falsely reported when map closure uses automatic deref
- `cast_possible_truncation` false negative when casting `u32` → `usize`
- unnecessary-wraps ignores cfg/feature
- Clippy fix error w/ `ptr_as_ptr` (type annotations needed for `std::mem::MaybeUninit<_>`)
- Various infalliable patterns in `clippy::redundant_pattern_matching`
- `missing_asserts_for_indexing`: false positive when length is compared with `const` value
- `mut_mutex_lock`: FP on `struct.mutex` where `struct` is behind `&`
- More complex complexity check(s)
- Suggest to inline string and char literals in `uninlined_format_args`
- Docs
- Rust not yet supported