aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/exercises
diff options
context:
space:
mode:
Diffstat (limited to 'exercises')
-rw-r--r--exercises/017_quiz2.zig2
-rw-r--r--exercises/024_errors4.zig2
-rw-r--r--exercises/053_slices2.zig2
3 files changed, 3 insertions, 3 deletions
diff --git a/exercises/017_quiz2.zig b/exercises/017_quiz2.zig
index 7de7010..cfdd945 100644
--- a/exercises/017_quiz2.zig
+++ b/exercises/017_quiz2.zig
@@ -3,7 +3,7 @@
//
// "Players take turns to count incrementally, replacing
// any number divisible by three with the word "fizz",
-// and any number divisible by five with the word "buzz".
+// and any number divisible by five with the word "buzz".
// - From https://en.wikipedia.org/wiki/Fizz_buzz
//
// Let's go from 1 to 16. This has been started for you, but there's
diff --git a/exercises/024_errors4.zig b/exercises/024_errors4.zig
index 560b129..7712f76 100644
--- a/exercises/024_errors4.zig
+++ b/exercises/024_errors4.zig
@@ -59,7 +59,7 @@ fn fixTooSmall(n: u32) MyNumberError!u32 {
// If we get a TooSmall error, we should return 10.
// If we get any other error, we should return that error.
// Otherwise, we return the u32 number.
- return detectProblems(n) ???
+ return detectProblems(n) ???
}
fn detectProblems(n: u32) MyNumberError!u32 {
diff --git a/exercises/053_slices2.zig b/exercises/053_slices2.zig
index 2456d86..18237a0 100644
--- a/exercises/053_slices2.zig
+++ b/exercises/053_slices2.zig
@@ -8,7 +8,7 @@
// var foo: []u8 = "foobar"[0..3];
//
// to:
-//
+//
// var foo: []const u8 = "foobar"[0..3];
//
// See if you can fix this Zero Wing-inspired phrase descrambler: