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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- add new lint `non_std_lazy_statics`
- Remove `.copied()` or `.cloned()` when possible
- `manual_let_else` suggests incorrect code change
- Warn about arithmetic before type cast/conversion
- `non_zero_suggestions` is triggered when converting from a nonzero value to a larger unsigned value
- Explicitly add `::`/`self::` on full path and import path
- too_many_lines not triggered on functions with #[tracing::instrument]
- `clippy::redundant_locals` is not a correctness lint
- Select Rust edition 2024 for compiling Clippy
- Official stance on how to return errors
- Docs
- Rust not yet supported