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 supported27 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- `missing_const_for_thread_local` false positive on targets without `#[thread_local]`: fires on already-`const` initializers
- Add a lint for combined equality assertions
- Rename default branch from `master` to `main`
- Don't mark `replace_box` suggestion machine-applicable for `Box<&mut _>`
- prevent checking `redundant_field_names` lint on `Derive`d code
- clippy::replace_box suggests a MachineApplicable fix that is semantically questionable for Box<&mut T>
- arithmetic_side_effects: lint pow unless the exponent is 0 or 1
- FP: `map_clone` suggests replacing an explicit `Foo::clone(x)` with `cloned()`
- `arithmetic_side_effects` should trigger on `pow()`
- Lint map_or branches that return the same constant
- Docs
- Rust not yet supported