Closed 0xLucqs closed 1 day ago
Checks for function arguments having the similar names differing by an underscore.
It affects code readability.
fn foo(a: i32, _a: i32) {}
Use instead:
fn foo(a: i32, _b: i32) {}
https://rust-lang.github.io/rust-clippy/master/index.html#/duplicate_underscore_argument
Hi, can I take this?
sure can you join the telegram group as well so i can help if you're stuck or don't know how to start ? https://t.me/cairolint
What it does
Checks for function arguments having the similar names differing by an underscore.
Why is this bad?
It affects code readability.
Example
Use instead:
https://rust-lang.github.io/rust-clippy/master/index.html#/duplicate_underscore_argument