diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/014_while4.zig | 2 | ||||
-rw-r--r-- | exercises/028_defer2.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/014_while4.zig b/exercises/014_while4.zig index 7b2714e..95aecb0 100644 --- a/exercises/014_while4.zig +++ b/exercises/014_while4.zig @@ -15,7 +15,7 @@ const std = @import("std"); pub fn main() void { var n: u32 = 1; - // Oh dear! This while loop will go forever!? + // Oh dear! This while loop will go forever?! // Please fix this so the print statement below gives the desired output. while (true) : (n += 1) { if (???) ???; diff --git a/exercises/028_defer2.zig b/exercises/028_defer2.zig index 6943012..35c1326 100644 --- a/exercises/028_defer2.zig +++ b/exercises/028_defer2.zig @@ -18,7 +18,7 @@ pub fn main() void { fn printAnimal(animal: u8) void { std.debug.print("(", .{}); - std.debug.print(") ", .{}); // <---- how!? + std.debug.print(") ", .{}); // <---- how?! if (animal == 'g') { std.debug.print("Goat", .{}); |