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
- `manual_memcpy` lints against slices but not pointer arythmetics
- Lint suggestion: `assume_init_mut` passed to `drop_in_place`
- `comparison_to_empty` not triggered if comparing `Cow<'a, str>` to empty string slice
- New lint: `manual_slice_fill`
- add a new lint for `repeat().take()` that can be replaced with `repeat_n()`
- don't suggest to use `cloned` for `Cow` in `unnecessary_to_owned`
- `cargo clippy --fix` for clippy::manual_retain results in broken code
- Suggest `uN::midpoint` over overflow prone `(a + b) / 2` expressions
- Remove obsolete comment
- New lint: `manual_midpoint`
- Docs
- Rust not yet supported