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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Suggest using `match` or `matches!` instead of `==` for composite data structures known at compile time (tuples, structs, arrays, ...)
- Requirement of some commands in the documentation
- Add `useless_concat`
- manual_unsigned_abs
- chore: multipart_suggestions for manual_assert
- `slow_vector_initialization` should recommend removing `Vec::resize()` calls in addition to adding the size to the macro
- Lint against redundant `Vec` resizing
- `manual_str_repeat` should trigger for `repeat_n` with msrv 1.82
- `deref_addrof` conflicts with the suggestion of the rustc `static_mut_refs` lint
- [`needless_late_init`] suggestion doesn't compile when the initializing takes place inside macro
- Docs
- Rust not yet supported