rust-clippy
https://github.com/rust-lang-nursery/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code
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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- 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
- print_literal: escape brace-valued escape sequences in suggestion
- Fix `needless_raw_string_hashes` miscounting hashes after two adjacent quotes
- Add ifs_as_logical_ops lint
- Docs
- Rust not yet supported