aboutsummaryrefslogtreecommitdiffstatshomepage
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 94bf1c7..55e08a8 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".
//
- const x = detect(n);
+ const x = try detect(n);
return x + 5;
}