aboutsummaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
Diffstat (limited to 'exercises')
-rw-r--r--exercises/21_errors.zig2
-rw-r--r--exercises/25_errors5.zig2
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/21_errors.zig b/exercises/21_errors.zig
index 34c5e18..7714c4b 100644
--- a/exercises/21_errors.zig
+++ b/exercises/21_errors.zig
@@ -1,5 +1,5 @@
//
-// Believe it or not, sometimes things to wrong in programs.
+// Believe it or not, sometimes things go wrong in programs.
//
// In Zig, an error is a value. Errors are named so we can identify
// things that can go wrong. Errors are created in "error sets", which
diff --git a/exercises/25_errors5.zig b/exercises/25_errors5.zig
index d9e9ce1..8b702cf 100644
--- a/exercises/25_errors5.zig
+++ b/exercises/25_errors5.zig
@@ -24,7 +24,7 @@ pub fn main() void {
fn addFive(n: u32) MyNumberError!u32 {
//
- // This function needs to return any error which might come back from fix().
+ // 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);