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 supported22 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Detect code block contents without "base indentation" in docs
- Detect inconsistent "style" for safety-related docs/comments
- `wildcard_imports` should allow filesystem-structural wildcard re-exports even for `pub(crate) use` as it already allows for `pub use`
- `collapsible_if` should handle multiple nested if statements
- Basic while loops => for loops
- New lint category: `panics`
- Add a chapter on how to review a lint in the book
- blocks_in_conditions suggests a fix which breaks code due to lifetime extension rules
- Lint to replace assignments in both if/then branches with a single one
- False negatives without build-std
- Docs
- Rust not yet supported