aboutsummaryrefslogtreecommitdiff
path: root/exercises/050_no_value.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/050_no_value.zig')
-rw-r--r--exercises/050_no_value.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/exercises/050_no_value.zig b/exercises/050_no_value.zig
index f8e89ca..8c73ed3 100644
--- a/exercises/050_no_value.zig
+++ b/exercises/050_no_value.zig
@@ -71,6 +71,7 @@ pub fn main() void {
var first_line2: Err!*const [21]u8 = ???;
first_line2 = "which can eternal lie";
+ // Note we need the "{!s}" format for the error union string.
std.debug.print("{s} {!s} / ", .{ first_line1, first_line2 });
printSecondLine();