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
- Detect needless use of `let else` with trailing semicolon
- `uninhabited_references` is very likely to be a false positive
- `float_cmp` changes
- Expect `lints.workspace = true` for crates in a workspace with a `[workspace.lints]` section
- unnecessary_cast: suggestion do not include turbofish on `std::ptr::null{_mut}`
- `borrowed_box` warnings on functions that returns `U<&V>` where `V` happens to be `Box<T>`
- [Book]: Add new section for collections of lints, that focus on the same problem
- [WIP] New lint `manual_checked_op`
- unusual_byte_groupings triggers for binary literals
- False positive iterating over and ignoring 0..n + 1
- Docs
- Rust not yet supported