rspec/rules/S1264/rule.adoc

9 lines
284 B
Plaintext
Raw Permalink Normal View History

== Why is this an issue?
When only the condition expression is defined in a ``++for++`` loop, and the initialization and increment expressions are missing, a ``++while++`` loop should be used instead to increase readability.
2020-06-30 12:47:33 +02:00
include::noncompliant.adoc[]
include::compliant.adoc[]