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 supported27 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Lint suggestion: implement `ExactSizeIterator` when `size_hint()` delegates to something implementing `ExactSizeIterator`
- `indexing_slicing` ignores `match` for length
- New lint: `iter_missing_exact_size`
- Since 1.97 Clippy flags else return { None } under question_mark, even in longer chains
- `ref_binding_to_reference` advises to return a reference that doesn't live long enough
- For `RefCell<T> where T: Copy` suggest `Cell<T>` instead
- Rewrite `std_instead_of_core`
- Optimize msrv calls (again)
- Function attribute to disallow unwrap of returned value
- Suggest replacing `result.map_or_else(Err, f)` with `result.and_then(f)`
- Docs
- Rust not yet supported