rspec/rules/S4158/why-dotnet.adoc
Čaba Šagi 8bd7d95bdb
Modify S4158: LayC format (#2208)
## Review

A dedicated reviewer checked the rule description successfully for:

- [ ] logical errors and incorrect information
- [ ] information gaps and missing content
- [ ] text style and tone
- [ ] PR summary and labels follow [the
guidelines](https://github.com/SonarSource/rspec/#to-modify-an-existing-rule)
2023-06-15 17:37:19 +02:00

4 lines
197 B
Plaintext

== Why is this an issue?
When a collection is empty, iterating it has no effect. Doing so anyway is likely a bug; either population was accidentally omitted, or the iteration needs to be revised.