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 supported28 Subscribers
View all SubscribersAdd a CodeTriage badge to rust-clippy
Help out
- Issues
- `manual_option_as_slice`: ignore by-reference bindings
- `default_trait_access` autofix not working
- `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
- `arithmetic_side_effects` should trigger on `pow()`
- Docs
- Rust not yet supported