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 supported15 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- `cargo clippy --all-targets` issues diagnostics for library crate twice
- New lint: wildcard pattern in let
- new lint: suggest using raw string literals if literal is more than X % escaped chars
- Needless continue for match block
- warn if println() statements found in functions annotated as #[bench]
- Lint `static mut FOO: T` where `T` has a safe counterpart
- lint `Hash` impls with `match`es on enums but no `mem::discriminant` call
- Use & in pattern binding to remove noisy dereferencing of copy types.
- Lint: Explicit destructor should necessiate not using #[derive(Clone)]
- Lint variable only ever assigned a single value
- Docs
- Rust not yet supported