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 supported23 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Lifetime conficts when recommending closures
- `clippy::return_self_not_must_use` is overreaching
- [ptr_arg] writing `&Vec<_>` instead of `&[_]` has a important performance impact (~20%)
- clippy::question_mark lint suggests code that does not compile
- unnecessary_lazy_evaluations warns about `str::len`
- warn on casting integer division to a float
- `redundant_closure` false positive when interacting with `FnMut` closures
- `self_named_module_files` does not find self named module files
- non_send_fields_in_send_ty seems to be misguided
- Lint to check for dangling pointers when calling Vec::as_mut_ptr() (or other pointer types) when the vec goes out of scope without having an owner
- Docs
- Rust not yet supported