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
- replace `box_patterns` usage with `deref_patterns`
- `duration_suboptimal_units`: print the complete method name in the suggestion
- Improve needless update lint text
- disallowed_methods falsely claiming "does not refer to a reachable function" (workspaces?)
- Add `disallowed_pub_api_types` lint
- Enum variants are not being simplified in or-patterns
- Add MSRV behavior sections to lint docs
- Fix `unwrap_expect_used` in test modules defined by complex configuration predicates (#16369)
- Detect assignment operators that do nothing (e.g. `+= 0`)
- Lint for `addr_of` -> `&raw const` and `addr_of_mut` -> `&raw mut`
- Docs
- Rust not yet supported