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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Lint against `#[no_mangle]` for non-`repr(C)` `pub static`s
- `integer_arithmetic` and `arithmetic_side_effects` trigger on user-defined types
- Do not match constants or literals
- suggest `map` or `map_err` when only the `Ok()` or `Err()` values are changed, respectively, in a pattern match
- debug ice: overlapping suggestions when `needless_lifetimes` removes back-to-back lifetimes
- `*_exclusive_errors`
- New lint against indirect method calls
- "impractical" const fn
- Opt-out of lint `#[inline]` on generic functions
- hang in `<clippy_lints::needless_pass_by_ref_mut::MutablyUsedVariablesCtxt>::add_mutably_used_var`
- Docs
- Rust not yet supported