aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-03-14 15:31:40 -0400
committerGitHub <noreply@github.com>2021-03-14 15:31:40 -0400
commit1c74f82293b7facf27fcdcf6dc25ae323908a529 (patch)
treede86f5a41091415c3f3a2763859a9ad9d212b4a5
parent7ddfca2e358bce98e3fbdbe64b117af74fea1ab7 (diff)
parentd120664c5f622d2796d7d8c790ada1f7aa74888a (diff)
downloadziglings-1c74f82293b7facf27fcdcf6dc25ae323908a529.tar.gz
ziglings-1c74f82293b7facf27fcdcf6dc25ae323908a529.tar.bz2
ziglings-1c74f82293b7facf27fcdcf6dc25ae323908a529.tar.xz
ziglings-1c74f82293b7facf27fcdcf6dc25ae323908a529.zip
Merge pull request #36 from JosephTLyons/Whitespace-cleanup
Cleaned up some trailing whitespace
-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: