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 supported28 Subscribers
View all SubscribersAdd a CodeTriage badge to rust-clippy
Help out
- Issues
- `needless_for_each` is suggested when `for_each` actually improves performance over `for`
- feat: Add [`undeclared_type`] lint to the [`restriction`] group
- Update `path_buf_push_overwrite` logic to match `join_absolute_paths`
- Add rust-analyzer note to generate missing lockfile
- Improve `future_not_send` for next-solver
- Replace `map_or_else(Default::default, ...)` on `Option`s with `map_or_default(...)`
- `unnecessary_to_owned`: make `Cow::into_owned` suggestion `MaybeIncorrect`
- Applying `unnecessary_to_owned` on Cow::into_owned results in a double borrow error
- `while_let_loop` proposes replacing exhaustive matches with non-exhaustive ones (which is bad)
- Add new `coerce_to_str` lint
- Docs
- Rust not yet supported