From 98ebdcbff84deb9168d5670dceeea6dc9ea7993c Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Sun, 31 Jul 2022 11:04:16 -0400 Subject: Updated build version requirement to 0.10.0-dev.3385 --- exercises/050_no_value.zig | 1 + 1 file changed, 1 insertion(+) (limited to 'exercises/050_no_value.zig') 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(); -- cgit v1.2.3-ZIG