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 supported26 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Expect `lints.workspace = true` for crates in a workspace with a `[workspace.lints]` section
- Forbids use of `core::ops::RangeInclusive` in constants and statics.
- "clippy::single_component_path_imports" False positive on swapped namespaces to enable mocking.
- nonminimal_bool produces suboptimal and invalid results
- collection_is_never_read says never used when hashing
- `needless_borrow` suggestion causes error when using conditional compilation
- unnecessary_cast: suggestion do not include turbofish on `std::ptr::null{_mut}`
- More granular `missing_docs`-like lints
- Bypassing constructor with manual_non_exhaustive and update syntax
- Do not flag for exact floating-point numbers
- Docs
- Rust not yet supported