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
- Add `std_wildcard_imports` lint for wildcard imports from standard library crates
- Fix cast_possible_truncation false positive when the min bound is a nā¦
- feat: add `invalid_nonzero` lint
- Add `stacked_if_match` lint for visually stacked `if if` and `match match' expressions
- Look for `clippy.toml` in `.cargo/` and `.config/` directories
- `cast_possible_truncation`: `x.min(C) as T` is only recognized when `C` is a literal
- Add iter::successors and iter::repeat_with to the list of possibly infinite iterators
- Preserve caller locations in closure rewrites
- Add a lint for `NonZero::new(0)` literal type footgun
- New lint: `str_split_whitespace`
- Docs
- Rust not yet supported