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
- Inside try blocks, `if_then_some_else_none` triggers even if the `Some` branch contains `?`
- `std_instead_of_core` suggests non-compiling variant if original code used legacy re-export
- Check trait argument names
- `chunks_exact_to_as_chunks` suggests iter() instead of iter_mut() for chunks_exact_mut and does not compile
- test: cover mutable iterator chains in chunks_exact_to_as_chunks
- Suggest `hypot` for `x.mul_add(x, y * y).sqrt()`
- Lint to warn on imports that only resolve because of other imports
- Catch double reverses on the same iterator
- Add configuration option to make an exception to `wildcard_enum_match_arm` on a per-enum basis
- while_let_loop seems to not fire if the loop has a label
- Docs
- Rust not yet supported