Open 0xLucqs opened 1 month ago
Detects enumeration variants that are prefixed or suffixed by the same characters.
Enumeration variant names should specify their variant, not repeat the enumeration name.
enum Cake { BlackForestCake, HummingbirdCake, BattenbergCake, }
Use instead:
enum Cake { BlackForest, Hummingbird, Battenberg, }
https://rust-lang.github.io/rust-clippy/master/index.html#/enum_variant_names
Hi @0xLucqs can I work on this?
yes and please open a PR ASAP so i can track where you are and can help you more easily
Can I work on this issue? @0xLucqs
What it does
Detects enumeration variants that are prefixed or suffixed by the same characters.
Why is this bad?
Enumeration variant names should specify their variant, not repeat the enumeration name.
Example
Use instead:
https://rust-lang.github.io/rust-clippy/master/index.html#/enum_variant_names