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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- `clippy::wildcard_dependencies` message doesn't indicate the source file with the error
- --fix generates broken code for derive(StructOfArray, Default) with a Default impl for the SoA generated Vec type
- False positive: needless_range_loop
- `std::io::Empty` that is never read from
- Autofix for `filter_map_bool_then` fails to use `move` closure, produces broken code
- `std::thread::park` is a better suggestion for fixing `clippy::empty_loop`
- False positive in clippy::unnecessary_literal_unwrap if variable is later used for struct construction
- False positive in arc_with_non_send_sync
- Applying clippy suggestion leads to inference error (`or_insert_with` / `or_default`)
- Redirect to `if let` and/or `match` when using unnecessary `.is_ok()` checks or similar
- Docs
- Rust not yet supported