aboutsummaryrefslogtreecommitdiff
path: root/13_while3.zig
diff options
context:
space:
mode:
Diffstat (limited to '13_while3.zig')
-rw-r--r--13_while3.zig7
1 files changed, 4 insertions, 3 deletions
diff --git a/13_while3.zig b/13_while3.zig
index 55fcc0a..3ff42ff 100644
--- a/13_while3.zig
+++ b/13_while3.zig
@@ -6,12 +6,13 @@
// Example:
//
// while (condition) : (continue expression){
+//
// if(other condition) continue;
-// ...
+//
// }
//
-// The continue expression executes even when 'other condition'
-// is true and the loop is restarted by the 'continue' statement.
+// The "continue expression" executes every time the loop restarts
+// whether the "continue" statement happens or not.
//
const std = @import("std");