aboutsummaryrefslogtreecommitdiff
path: root/exercises/025_errors5.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/025_errors5.zig')
-rw-r--r--exercises/025_errors5.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/025_errors5.zig b/exercises/025_errors5.zig
index 8739e4a..9759a70 100644
--- a/exercises/025_errors5.zig
+++ b/exercises/025_errors5.zig
@@ -26,7 +26,7 @@ fn addFive(n: u32) MyNumberError!u32 {
// This function needs to return any error which might come back from detect().
// Please use a "try" statement rather than a "catch".
//
- var x = detect(n);
+ var x = try detect(n);
return x + 5;
}