1234567891011 |
- --- exercises/025_errors5.zig 2023-11-21 14:22:48.159250165 +0100
- +++ answers/025_errors5.zig 2023-11-21 14:25:01.338277886 +0100
- @@ -26,7 +26,7 @@
- // 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;
- }
|