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 supported21 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- bad `match_ref_pats` suggestion.
- Clippy errors and says to use `Read::read_exact` inside implementations of `Read::read_exact` that don't directly use the output of `Read::read`
- New lint: `_.as_ptr() as *mut _` is Undefined Behavior
- Lint using blocks in compound expression operators
- debug_assert_with_mut_call: false positive on immutable method call
- should comparison_chain only trigger for "if x > y {} else if x <y {} else {}" ?
- Lint simplifyable `ok_or_else` usage
- unit_cmp: special handling of assert_eq!(Option.unwrap(), ());
- New lint: vec.extend(&vec![elem; len]) is slow, vec.resize() should be used instead
- Compare equal operands
- Docs
- Rust not yet supported