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
- reinitialization with let
- Detect potentially mis-written out param functions
- Check for `// SPDX-License-Identifier: XXX` in all source files
- Move `unsafe` inside closures
- `useless_let_if_seq` ignores pattern if any expr is between variable declaration and conditional assignment.
- Changed lint name refers to lint uplifted into rustc
- `drop` on non-`Drop` types is useful defensive programming
- Incorrect `unnecessary_cast` on a raw pointer with an unknown pointee type
- Behavioral regression in eq_op
- `unwrap_or_default` suggests replacing `T::new`
- Docs
- Rust not yet supported