aboutsummaryrefslogtreecommitdiff
path: root/exercises/052_slices.zig
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-07-21 11:27:51 -0400
committerGitHub <noreply@github.com>2021-07-21 11:27:51 -0400
commitee4254bcff3475e721b2e21dce6811b41be3cb68 (patch)
tree15726b89c26348e50a60a5e82c6b1e6dccf45584 /exercises/052_slices.zig
parent613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861 (diff)
parent1cc0b3866640100d727b2b028a35a813621c0901 (diff)
downloadziglings-ee4254bcff3475e721b2e21dce6811b41be3cb68.tar.gz
ziglings-ee4254bcff3475e721b2e21dce6811b41be3cb68.tar.bz2
ziglings-ee4254bcff3475e721b2e21dce6811b41be3cb68.tar.xz
ziglings-ee4254bcff3475e721b2e21dce6811b41be3cb68.zip
Merge pull request #66 from Airbus5717/main
added newline print to make output look nicer
Diffstat (limited to 'exercises/052_slices.zig')
-rw-r--r--exercises/052_slices.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/052_slices.zig b/exercises/052_slices.zig
index 1810d6b..3ee5383 100644
--- a/exercises/052_slices.zig
+++ b/exercises/052_slices.zig
@@ -47,6 +47,7 @@ fn printHand(hand: ???) void {
for (hand) |h| {
std.debug.print("{u} ", .{h});
}
+ std.debug.print("\n", .{});
}
//
// Fun fact: Under the hood, slices are stored as a pointer to