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
- `cast_possible_truncation` could check whether floating point values are manually truncated (round, floor, ceil...) prior to cast
- use `diag.span_help` if the target is multiline in `map_unwrap_or`
- `module_inception` false positive for private sub-module
- regression: unnecessary_lazy_evaluations not triggered on thiserror enum variant
- Add lints to encourage use of specialized assert macros
- New lint for `as *const _` and `as *mut _` pointer casts
- show message with try block in `map_unwrap_or`
- Lint against Arc<impl Copy>
- duplicated_attributes: false positive with apistos crate
- Incorrectly printed suggestion for `map(<f>).unwrap_or(false)` on multiple lines
- Docs
- Rust not yet supported