Browse Source

Normalize interrobangs

Dave Gauer 4 years ago
parent
commit
ac9a4dadfb
3 changed files with 4 additions and 4 deletions
  1. 1 1
      exercises/014_while4.zig
  2. 1 1
      exercises/028_defer2.zig
  3. 2 2
      patches/patches/028_defer2.patch

+ 1 - 1
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 (???) ???;

+ 1 - 1
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", .{});

+ 2 - 2
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?!