aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--exercises/012_while2.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/012_while2.zig b/exercises/012_while2.zig
index ef53ea0..c9905aa 100644
--- a/exercises/012_while2.zig
+++ b/exercises/012_while2.zig
@@ -11,7 +11,7 @@
// Example:
//
// var foo = 2;
-// while (foo<10) : (foo+=2) {
+// while (foo < 10) : (foo += 2) {
// // Do something with even numbers less than 10...
// }
//