From 5257941f40554da3f8df074443a4c087dcff7004 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Sat, 10 Dec 2022 23:02:40 +0000 Subject: 25-60 complete --- exercises/025_errors5.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/025_errors5.zig') 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; } -- cgit v1.2.3-ZIG