rfcs icon indicating copy to clipboard operation
rfcs copied to clipboard

https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints uses `-`

Open hamirmahal opened this issue 1 year ago • 1 comments

hamirmahal avatar Apr 30 '24 21:04 hamirmahal

https://rust-lang.github.io/rfcs/0344-conventions-galore.html#lints says

Use snake case in the same way you would for function names.

but then uses lint-name in some examples.

The basic rule is: the lint name should make sense when read as “allow lint-name” or “allow lint-name items”.

hamirmahal avatar Apr 30 '24 21:04 hamirmahal