diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/12_while2.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/12_while2.zig b/exercises/12_while2.zig index 6f808c8..2d0bd79 100644 --- a/exercises/12_while2.zig +++ b/exercises/12_while2.zig @@ -4,14 +4,14 @@ // end of the loop or when an explicit 'continue' is invoked (we'll // try those out next): // -// while (condition) : (continue expression) +// while (condition) : (continue expression) { // ... // } // // Example: // // var foo = 2; -// while (foo<10) : (foo+=2) +// while (foo<10) : (foo+=2) { // // Do something with even numbers less than 10... // } // |