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
- Enhance redundant_clone for moved struct fields
- Diverging subexpression lint should not fire on `todo!()`
- needless_borrowed_reference is too opinionated
- Clippy fix to owned Result returned on if .is_err(), produces broken code
- uninlined_format_args is too strict around renamed args
- unchecked_duration_subtraction fix doesn't account for order of operations
- Incorrect identity_op, erasing_op lints when doing arithmetic with seq_macro counters
- Detect Result passed as a function argument
- Support running a single lint rule with --fix
- indexing_slicing not warning about slicing when the type is a generic array returned from a generic function
- Docs
- Rust not yet supported