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
- Add lint to suggest as_chunks over chunks_exact with constant
- Add ifs_as_logical_ops lint
- Add lint `long_variable_names`
- Encountered Incremental Compilation Error With implementations_of_trait
- Suggest using a range iterator instead of casting `enumerate()`
- `unnecessary_safety_comment` does not lint for "orphan" comments
- Suggest replacing manual equality assertion with assert_eq!
- proposed new linter rules
- `shadow_unrelated` closure acceptance is defeated by wrapping the closure in a pointer
- Suggest using `next_multiple_of()` instead of `((x + N-1) / N) * N` or `(x + N-1) & !(N-1)` (for powers of two)
- Docs
- Rust not yet supported