rust-clippy/clippy_lints
Quinn Sinclair eee4db928f Replace elided variable in let_unit with () when used
Situation: `let_unit` lints when an expression binds a unit (`()`)
to a variable. In some cases this binding may be passed down to
another function. Currently, the lint removes the binding without
considering usage.

Change: All usages of the elided variable are now replaced with `()`.

fixes: #12594
2024-04-01 13:40:36 +02:00
..
src Replace elided variable in let_unit with () when used 2024-04-01 13:40:36 +02:00
Cargo.toml Bump Clippy version -> 0.1.79 2024-03-21 22:06:41 +01:00
README.md clippy_lints: readme: don't mention crates.io since it is no longer used to publish clippy. 2020-03-10 01:05:54 +01:00

This crate contains Clippy lints. For the main crate, check GitHub.