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 supported26 Subscribers
Add a CodeTriage badge to rust-clippy
Help out
- Issues
- Lint against patterns like `<Result<_,_> as anyhow::Context>::context(r, &format!("...", ...))` in favor of `.with_context(|| ...)`
- new lint: use_crate_prefix_for_self_imports
- Clippy fix makes breaking change on warning: usage of `contains_key` followed by `insert` on a `HashMap`
- Add new `include_file_outside_project` lint
- clippy::never_loop: never loop is usefull when has break 'out
- Rust 2024 match ergonomics and `needless_borrowed_reference`
- Unneeded `rust` as language in `rustdoc`'s documentation examples
- new lint: `unnecessary_box_pin`
- Move `large_stack_frames` to suspicious
- Autofix `explicit_counter_loop` (MaybeIncorrect) produces invalid rust code.
- Docs
- Rust not yet supported