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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Warn about using `bool::then_some` followed by `unwrap_or`, suggest `if`/`else` instead
- Add clippy::exposed_private_fields for macros that generate constructors
- let_unit_value when using constants to limit values of `const usize`
- derive_partial_eq_without_eq should acknowledge the constraint it adds
- Detect complex way to clone Option<String>
- Detect hidden malloc in comparison of Option<String>
- Implicit Copy Lint
- Clippy doesnt see that value has been moved before suggesting
- Workspace-level lints
- lint if/else to match enum variant if we could use match
- Docs
- Rust not yet supported