rspec/rules/S1439/description.adoc

2 lines
241 B
Plaintext
Raw Normal View History

2021-01-27 13:42:22 +01:00
Any statement or block of statements can be identified by a label, but those labels should be used only on ``++while++``, ``++do-while++`` and ``++for++`` statements. Using labels in any other context leads to unstructured, confusing code.