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", .{}); diff --git a/patches/patches/028_defer2.patch b/patches/patches/028_defer2.patch index c042c45..14caf8b 100644 --- a/patches/patches/028_defer2.patch +++ b/patches/patches/028_defer2.patch @@ -1,4 +1,4 @@ 21c21 -< std.debug.print(") ", .{}); // <---- how!? +< std.debug.print(") ", .{}); // <---- how?! --- -> defer std.debug.print(") ", .{}); // <---- how!? +> defer std.debug.print(") ", .{}); // <---- how?!