rspec/rules/S1068/description.adoc

2 lines
228 B
Plaintext
Raw Normal View History

2020-12-23 14:59:06 +01:00
If a ``private`` field is declared but not used in the program, it can be considered dead code and should therefore be removed. This will improve maintainability because developers will not wonder what the variable is used for.