mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fix typo in ES.86 example (#1362)
This commit is contained in:
committed by
Sergey Zubkov
parent
35db3bf123
commit
5750f1ee86
@@ -12856,7 +12856,7 @@ The loop control up front should enable correct reasoning about what is happenin
|
|||||||
for (int i = 0; i < 10; ++i) {
|
for (int i = 0; i < 10; ++i) {
|
||||||
if (skip) { skip = false; continue; }
|
if (skip) { skip = false; continue; }
|
||||||
//
|
//
|
||||||
if (/* something */) skip = true; // Better: using two variable for two concepts.
|
if (/* something */) skip = true; // Better: using two variables for two concepts.
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user