aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Gauer <ratfactor@gmail.com>2021-08-24 09:28:21 -0400
committerGitHub <noreply@github.com>2021-08-24 09:28:21 -0400
commite36b2973c4dda09ad9d03d2c96afd413b87c344e (patch)
treeac0ee303793c451244ac330a9978c79ae8e51e67
parentcf4cff511559e51df0810729a3e486bb4ff1ff73 (diff)
parent4665489bb707d14e2045d47e4f6c1a3dcbe59a69 (diff)
downloadziglings-e36b2973c4dda09ad9d03d2c96afd413b87c344e.tar.gz
ziglings-e36b2973c4dda09ad9d03d2c96afd413b87c344e.tar.bz2
ziglings-e36b2973c4dda09ad9d03d2c96afd413b87c344e.tar.xz
ziglings-e36b2973c4dda09ad9d03d2c96afd413b87c344e.zip
Merge pull request #70 from Palm404/patch-1
fix: Syntax error to fit formatting
-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 {