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
- unnecessary_get_then_check miscategorised as "suspicious", should be "complexity"
- let_underscore_future should not trigger if type of discarded value specified
- 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`
- The "Clippy Lints" page looks like it is censored
- Lint suggestion: `manual_isolate_highest_one`
- Lint suggestion: `manual_highest_one`
- Lint suggestion: `manual_lowest_one`
- Docs
- Rust not yet supported