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
- Detect situations where `impl Trait` is preferred.
- Iterators: suggest `position()` instead of `enumerate() + find() + .0`
- New lint: Detect Ok(foo?) patterns and suggest .map_err(From::from) instead.
- lint spurious searches
- Lint to suggest match instead of [...].contains
- suggest raw strings over strings with escaped quotes
- Reword or even allow-by-default box_vec
- improve suggestions around `&*` and don't add parenthesis
- Lint against Sync return values from un-Sync types
- Warn on large amounts of string matches
- Docs
- Rust not yet supported