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
- False positive for collapsible_match with cfg feature usage
- `unused_unit` suggestion includes blank lines
- Add common database engines to `doc_markdown` whitelist
- New lint: `missing_must_use`
- `clippy::doc_markdown` matches common database engine names (SQLite, MySQL, etc.)
- Implement needless_partial_cmp
- Extend `assigning_clones` to cover `to_owned`-alike methods
- collapsible_match ignore "else" when fixing an if statement
- Fixes a `collapsible_match` false positive where the suggested if-into-guard collapse produces code that fails the borrow checker (E0502).
- Fixes a `collapsible_match` false positive where the suggested fix turned an exhaustive `match` into a non-exhaustive one.
- Docs
- Rust not yet supported