aboutsummaryrefslogtreecommitdiff
path: root/exercises/012_while2.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/012_while2.zig')
-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 c9905aa..6f8e168 100644
--- a/exercises/012_while2.zig
+++ b/exercises/012_while2.zig
@@ -25,7 +25,7 @@ pub fn main() void {
// Please set the continue expression so that we get the desired
// results in the print statement below.
- while (n < 1000) : ??? {
+ while (n < 1000) : (n *= 2) {
// Print the current number
std.debug.print("{} ", .{n});
}