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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- release tagging: clippy 1.46 tag and rustc 1.46 tag diverge
- Prevent Getting a Raw Pointer to a Temporary
- Lint for using the same expression for both length and capacity when constructing a vec/string
- Restriction lint for constructing a type with a Drop impl from a raw pointer
- New lint: replace `iter.filter(x).count() > 0` with `iter.any(x)`
- New lint: map_unwrap_or_bool
- catch suspicious clones: let foo = foo.clone(); (to appease borrowck)
- option_if_let_else suggests map_or instead of map_or_else even if else branch contains a function call
- New lint: Unused temporary variable
- useless_asref message not accurate for mut slices
- Docs
- Rust not yet supported