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
- clippy::use_self seems to trigger in some odd places
- `clippy::await_holding_refcell_ref` appears to assume out-of-scope variables are being held across await points
- PGO applicability
- `==` check instead of `opt.map_or(false, |val| val == n)` or `if let Some(n) = opt`
- Detect named lifetimes that are effectively `'static`
- Broken from_iter_instead_of_collect / FromIterator::from_iter lint
- Use dereference instead of references for comparisons
- `redundant_closure_for_method_calls` suggesting a private module/type
- Compiler error created by running clippy fix on floating point expression upgrading to 1.66
- Use of Display impl of an implementor of std::error::Error
- Docs
- Rust not yet supported