aboutsummaryrefslogtreecommitdiff
path: root/exercises/033_iferror.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/033_iferror.zig')
-rw-r--r--exercises/033_iferror.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/033_iferror.zig b/exercises/033_iferror.zig
index 67777a9..0e48262 100644
--- a/exercises/033_iferror.zig
+++ b/exercises/033_iferror.zig
@@ -30,7 +30,7 @@ pub fn main() void {
var n = numberMaybeFail(num);
if (n) |value| {
- std.debug.print("=4. ", .{});
+ std.debug.print("={}. ", .{value});
} else |err| switch (err) {
MyNumberError.TooBig => std.debug.print(">4. ", .{}),
// Please add a match for TooSmall here and have it print: "<4. "