aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-05-09 13:15:53 -0400
committerDave Gauer <dave@ratfactor.com>2021-05-09 13:15:53 -0400
commit2ad8de54150137244dc1d1b93bb3a75e850ee2b9 (patch)
tree4cbe65e15ab82504fa6e8817704731234ff5f9c2
parentde584dcd718b6d55179c00a4ec246f029604ab57 (diff)
downloadziglings-2ad8de54150137244dc1d1b93bb3a75e850ee2b9.tar.gz
ziglings-2ad8de54150137244dc1d1b93bb3a75e850ee2b9.tar.bz2
ziglings-2ad8de54150137244dc1d1b93bb3a75e850ee2b9.tar.xz
ziglings-2ad8de54150137244dc1d1b93bb3a75e850ee2b9.zip
Normalize interrobangs
-rw-r--r--exercises/014_while4.zig2
-rw-r--r--exercises/028_defer2.zig2
-rw-r--r--patches/patches/028_defer2.patch4
3 files changed, 4 insertions, 4 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", .{});
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?!