rust-clippy
https://github.com/rust-lang/rust-clippy
Rust
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
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 supported27 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- `unnecessary_safety_comment` does not lint for "orphan" comments
- Suggest replacing manual equality assertion with assert_eq!
- proposed new linter rules
- Suggest `impl FromStr` instead of `TryFrom<&str>`
- New lint: qualified `None` to help make code more readable
- absurd extreme comparisons not working for std::time::Duration
- `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
- Docs
- Rust not yet supported