my ziglings
0

Configure Feed

Select the types of activity you want to include in your feed.

Normalize interrobangs

Dave Gauer (May 9, 2021, 1:15 PM EDT) ac9a4dad 34ac5f67

+4 -4
+1 -1
exercises/014_while4.zig
··· 15 15 pub fn main() void { 16 16 var n: u32 = 1; 17 17 18 - // Oh dear! This while loop will go forever!? 18 + // Oh dear! This while loop will go forever?! 19 19 // Please fix this so the print statement below gives the desired output. 20 20 while (true) : (n += 1) { 21 21 if (???) ???;
+1 -1
exercises/028_defer2.zig
··· 18 18 fn printAnimal(animal: u8) void { 19 19 std.debug.print("(", .{}); 20 20 21 - std.debug.print(") ", .{}); // <---- how!? 21 + std.debug.print(") ", .{}); // <---- how?! 22 22 23 23 if (animal == 'g') { 24 24 std.debug.print("Goat", .{});
+2 -2
patches/patches/028_defer2.patch
··· 1 1 21c21 2 - < std.debug.print(") ", .{}); // <---- how!? 2 + < std.debug.print(") ", .{}); // <---- how?! 3 3 --- 4 - > defer std.debug.print(") ", .{}); // <---- how!? 4 + > defer std.debug.print(") ", .{}); // <---- how?!