rust-clippy
https://github.com/rust-lang-nursery/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code
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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Remove `.copied()` or `.cloned()` when possible
- `non_zero_suggestions` is triggered when converting from a nonzero value to a larger unsigned value
- Warn about arithmetic before type cast/conversion
- Explicitly add `::`/`self::` on full path and import path
- Official stance on how to return errors
- clippy::cargo lint is applied to sibling crates
- add lint: `could_be_assoc_type_bounds`
- #[expect(...)] attribute not working for clippy::assertion_on_constant
- `if_assert`
- Inconsistent handling of to_string() removal suggestion between field and method access
- Docs
- Rust not yet supported