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
- 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)
- Lint against footguns in the stdlib
- Factor `return`, `break` and `continue` from multiple branches
- Feedback on `needless_continue` in Rust 1.86
- Clippy removes comments from suggestions
- Docs
- Rust not yet supported