diff options
| author | Dave Gauer <[email protected]> | 2022-07-31 11:04:16 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2022-07-31 11:04:16 -0400 |
| commit | 00796028ba740f1a4b554e3336ba75cd2dc77a31 (patch) | |
| tree | abecd0aeeb5e2ddd5b0421dcbba7e389ba0499ae /exercises/050_no_value.zig | |
| parent | 635be056a00669ed8fd6da200e9c965708456425 (diff) | |
| download | ziglings-00796028ba740f1a4b554e3336ba75cd2dc77a31.tar.xz ziglings-00796028ba740f1a4b554e3336ba75cd2dc77a31.zip | |
Updated build version requirement to 0.10.0-dev.3385
Diffstat (limited to 'exercises/050_no_value.zig')
| -rw-r--r-- | exercises/050_no_value.zig | 1 |
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(); |
