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
- Detect manual re-implementations of `Ordering::then_with` and similar APIs
- "Updated In" for lints
- macro should be const fn
- Replace `if s.split('.').count() == 1` with `if !s.contains('.')`
- Clippy matches redundant closure to Option creation
- iter_cloned_collect false positive with custom From/IntoIterator impl
- Lint path or import used in macro
- Warn if str.parse if no explicit type specified
- Warn about using `bool::then_some` followed by `unwrap_or`, suggest `if`/`else` instead
- Add clippy::exposed_private_fields for macros that generate constructors
- Docs
- Rust not yet supported