aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-06-24 17:03:48 -0400
committerWinter <winter@winter.cafe>2022-06-24 21:42:03 -0400
commitf07c503b77482334e71307f289de20a15a8387d5 (patch)
tree2058890e5d26604657c5efed33953c8a569f9e6e /exercises
parent1a89e4ebf13756541916cf5ed47866a3dd7e74df (diff)
downloadziglings-f07c503b77482334e71307f289de20a15a8387d5.tar.gz
ziglings-f07c503b77482334e71307f289de20a15a8387d5.tar.bz2
ziglings-f07c503b77482334e71307f289de20a15a8387d5.tar.xz
ziglings-f07c503b77482334e71307f289de20a15a8387d5.zip
Remove extraneous newlines in exercises 26 and 44
Diffstat (limited to 'exercises')
-rw-r--r--exercises/026_hello2.zig1
-rw-r--r--exercises/043_pointers5.zig1
2 files changed, 0 insertions, 2 deletions
diff --git a/exercises/026_hello2.zig b/exercises/026_hello2.zig
index 237d27c..cb29193 100644
--- a/exercises/026_hello2.zig
+++ b/exercises/026_hello2.zig
@@ -10,7 +10,6 @@ const std = @import("std");
// that Zig will infer the error type. This is appropriate in the case
// of main(), but can have consequences elsewhere.
pub fn main() !void {
-
// We get a Writer for Standard Out so we can print() to it.
const stdout = std.io.getStdOut().writer();
diff --git a/exercises/043_pointers5.zig b/exercises/043_pointers5.zig
index ae80ecc..f3a9ca0 100644
--- a/exercises/043_pointers5.zig
+++ b/exercises/043_pointers5.zig
@@ -62,7 +62,6 @@ pub fn main() void {
// Note how this function's "c" parameter is a pointer to a Character struct.
fn printCharacter(c: *Character) void {
-
// Here's something you haven't seen before: when switching an enum, you
// don't have to write the full enum name. Zig understands that ".wizard"
// means "Class.wizard" when we switch on a Class enum value: