aboutsummaryrefslogtreecommitdiff
path: root/exercises/043_pointers5.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/043_pointers5.zig')
-rw-r--r--exercises/043_pointers5.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/043_pointers5.zig b/exercises/043_pointers5.zig
index cb94189..ae80ecc 100644
--- a/exercises/043_pointers5.zig
+++ b/exercises/043_pointers5.zig
@@ -73,7 +73,7 @@ fn printCharacter(c: *Character) void {
.warrior => "Warrior",
};
- std.debug.print("{s} (G:{} H:{} XP:{})", .{
+ std.debug.print("{s} (G:{} H:{} XP:{})\n", .{
class_name,
c.gold,
c.health,