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
- Improve `indexing_slicing` help message
- incomplete ordering trait impls lint
- Lint `set_*` and `get_*` methods that do nothing but access the field
- Lint to warn about str::as_ptr() usage in ffi call
- Lint reading an option and then overwriting it with `None`
- Lint when trait contains method with same name as method from trait heirachy
- When `derive` is already applied to struct, suggest extending it, not replacing it
- New Lint: suggest using a custom `std::error::Error` type instead of a static str for `io::Error::new`
- Lint needless `&mut` when `&` suffices
- improve collapsible if in complex cases with same expressions
- Docs
- Rust not yet supported