Open
Description
Description
https://rust-lang.github.io/rust-clippy/master/index.html#/struct_field_names
"
Why it is bad ?
Information common to all struct fields is better represented in the struct name.
"
However having just the name of the class in one field is reported. (as stated in "What it does")
I think it could be 2 separate lint. But in the current state, the "Why it is bad ?" should be made coherent with the "What it does" section, e.g. say why having the class name as prefix/suffix in one of the field is bad or "Field name should have the right amount of information, not less, not more"
Version
No response
Additional Labels
No response