aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
authorAirbus5717 <Abdussamadf350@gmail.com>2021-07-21 13:04:52 +0300
committerAirbus5717 <Abdussamadf350@gmail.com>2021-07-21 13:04:52 +0300
commit243df7681d0ee4c864a36037f300b1c24cef9e01 (patch)
tree5979f70c9ea49db61f68b85a547343336ccc310b /exercises
parent613d77b7f8765c0e0bf0cf6fb1fa67d7870a5861 (diff)
downloadziglings-243df7681d0ee4c864a36037f300b1c24cef9e01.tar.gz
ziglings-243df7681d0ee4c864a36037f300b1c24cef9e01.tar.bz2
ziglings-243df7681d0ee4c864a36037f300b1c24cef9e01.tar.xz
ziglings-243df7681d0ee4c864a36037f300b1c24cef9e01.zip
added newline print to make output look nicer
Diffstat (limited to 'exercises')
-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