aboutsummaryrefslogtreecommitdiff
path: root/exercises/024_errors4.zig
diff options
context:
space:
mode:
authorPalm <87849942+Palm404@users.noreply.github.com>2021-08-20 15:25:23 -0700
committerGitHub <noreply@github.com>2021-08-20 15:25:23 -0700
commit4665489bb707d14e2045d47e4f6c1a3dcbe59a69 (patch)
tree68b37b5d1463a16e2ac18705c988dddf5b541a87 /exercises/024_errors4.zig
parent38f8737163ecd8a52dedbd7a1b5707871be06c04 (diff)
downloadziglings-4665489bb707d14e2045d47e4f6c1a3dcbe59a69.tar.gz
ziglings-4665489bb707d14e2045d47e4f6c1a3dcbe59a69.tar.bz2
ziglings-4665489bb707d14e2045d47e4f6c1a3dcbe59a69.tar.xz
ziglings-4665489bb707d14e2045d47e4f6c1a3dcbe59a69.zip
fix: Syntax error to fit formatting
Diffstat (limited to 'exercises/024_errors4.zig')
-rw-r--r--exercises/024_errors4.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/024_errors4.zig b/exercises/024_errors4.zig
index d45ab92..b4fa955 100644
--- a/exercises/024_errors4.zig
+++ b/exercises/024_errors4.zig
@@ -59,7 +59,7 @@ fn fixTooSmall(n: u32) MyNumberError!u32 {
// If we get a TooSmall error, we should return 10.
// If we get any other error, we should return that error.
// Otherwise, we return the u32 number.
- return detectProblems(n) ???
+ return detectProblems(n) ???;
}
fn detectProblems(n: u32) MyNumberError!u32 {