From 77b72e09339194631b86e1e91910fd55a1227827 Mon Sep 17 00:00:00 2001 From: Will Clardy Date: Mon, 15 Feb 2021 01:02:53 -0500 Subject: Add missing opening braces in while statements --- exercises/12_while2.zig | 4 ++-- 1 file 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... // } // -- cgit v1.2.3-ZIG