diff options
author | Will Clardy <will@quexxon.net> | 2021-02-15 01:02:53 -0500 |
---|---|---|
committer | Will Clardy <will@quexxon.net> | 2021-02-15 01:02:53 -0500 |
commit | 77b72e09339194631b86e1e91910fd55a1227827 (patch) | |
tree | 63da8a2ca70f008656f0d7fd7156ca47c392a746 | |
parent | 87cc23261a5ab932ae000af5ea93b2286f12c5d5 (diff) | |
download | ziglings-77b72e09339194631b86e1e91910fd55a1227827.tar.gz ziglings-77b72e09339194631b86e1e91910fd55a1227827.tar.bz2 ziglings-77b72e09339194631b86e1e91910fd55a1227827.tar.xz ziglings-77b72e09339194631b86e1e91910fd55a1227827.zip |
Add missing opening braces in while statements
-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... // } // |