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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- `unnecessary_to_owned` suggestion causes error when iterator is re-borrowed mutably within a loop
- option_if_let_else suggests invalid code when using mut references in the else clause
- Incorrect report of needless collect with the sequence from_fn().collect() follow by vec.into_iter().rev().collect()
- Lint for named, but unused, futures
- clippy::needless_collect suggests rewriting to code that is semantically different
- Another let_and_return false positive
- single_char_pattern lint suggests performance regression for strip_prefix/suffix
- False positive for `enum_clike_unportable_variant` for values that are variable based on the width of a `usize`
- `redundant_closure` false positive when interacting with `FnMut` closures
- `cmp_owned` provides a confusing suggestion
- Docs
- Rust not yet supported