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
- Unneeded `rust` as language in `rustdoc`'s documentation examples
- New lint truncate_with_drain
- Overindented lines lint (similar to `doc_lazy_continuation`)
- Implement a lint for `.clone().into_iter()`
- new lint: `unnecessary_box_pin`
- New `inline_test_mod` lint to encouage independent `test.rs` files for rebuild performance
- Move `large_stack_frames` to suspicious
- needless_return doesn't trigger properly with tracing::instrument
- Prefer `vec.truncate(x)` over `vec.drain(x..)`
- Add `test_without_fail_case` lint to check if a test actually has a way to fail or not
- Docs
- Rust not yet supported