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 `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`
- The `disallowed_types` lint also lints when the type comes from a macro expansion in a different crate
- Invalid `manual_map` suggestion for `#[track_caller]` function
- FP `explicit_auto_deref` on using never-to-any coercion with `&!`
- Docs
- Rust not yet supported