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
- Fix `invalid_upcast_comparisons` treating non-widening casts as upcasts
- `multiple_unsafe_ops_per_block`: false positive with write to field holding a union
- fix(multiple_unsafe_ops_per_block): false positive in with write to union field
- Fix the swapped arguments in `redundant_closure`'s late-bound region check
- Fix `needless_raw_string_hashes` miscounting hashes after two adjacent quotes
- Add ifs_as_logical_ops lint
- print_literal: escape brace-valued escape sequences in suggestion
- Running `cargo clippy --fix` followed by `cargo clippy -- -Dwarnings` doesn't fail on tripped warnings during the fix stage
- `type_complexity` triggered in macro-generated code
- Fix `needless_range_loop` false positive with nested indexing
- Docs
- Rust not yet supported