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 supported20 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Explicit unlock for locks
- `RefCell<u32>` -> `Cell<u32>`
- `cast_possible_truncation` triggers when the value is guranteed to not be truncated
- Duration's constructors should not trigger or_fun_call
- invalid "no field on type" errors
- Better documentation for disallowed_method lint
- Multiple if-let arms can be replaced with match
- Ling suggestion: use a range to cycle between values, instead arithmetic remainder.
- Macros wrapping expressions in `unsafe` blocks when using `unsafe_op_in_unsafe_fn`
- redundant_allocation warns about Box<Arc<_>>, when it's necessary for downcasting
- Docs
- Rust not yet supported