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 supported24 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Fix `expect_fun_call` suggests wrongly for string slicing
- False Positive: `default_numeric_fallback` emits warning when the inferred type ends up being the fallback type.
- Invalid suggestion and fix for `.expect(&format!("…")[..])` (clippy::expect_fun_call)
- Lint on unnecessary tuple-from-block-expr assignments
- `question_mark` doesn't recognize `match` with `None => None` arm
- Enhance `needless_late_init` to cover grouped assignments
- Fix `collapsible_match` FP when the scrutinee could match a later pattern
- feat: `min_ident_chars` lint short idents even if follows trait naming
- Lint unnecessary `vec.extend(slice.to_vec())`
- Add matches_if_let lint for if matches! conditions
- Docs
- Rust not yet supported