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
- Fix `ref_binding_to_reference` suggesting a ref that doesn't live long enough
- Recommend `match` instead of `.map().map_err()` chaining
- Recommend `match` instead of `.map().unwrap_or_else()`
- Use `.share()` instead of `.clone()`
- add relative import paths lint
- `type_complexity`: ignore opaque `impl Trait` bounds
- Fix `invalid_upcast_comparisons` treating non-widening casts as upcasts
- Fix the swapped arguments in `redundant_closure`'s late-bound region check
- Fix `needless_raw_string_hashes` miscounting hashes after two adjacent quotes
- print_literal: escape brace-valued escape sequences in suggestion
- Docs
- Rust not yet supported