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
- `mut-mut` causes type error
- `mut-mut` may remove required lifetime
- Audit uses of `sym::cfg` and `sym::cfg_attr` (some ought to be replaced with `sym::cfg_trace` and `sym::cfg_attr_trace` resp.)
- Add `x.map_or(true, |n| n > 5)` to `manual_is_variant_and`
- `never_loop` false-positive when using join_handles
- `try_update` (or `fetch_update`) where `update` would work
- `accept-comment-above-attributes = true` doesn't skip `cfg_attr` attributes
- A lint to check the ignoring of Err
- `fn_delegation`: renamed-function-param is missing snippet
- Lint suggestion: Mismatched macro repetition operator
- Docs
- Rust not yet supported