summaryrefslogtreecommitdiff
path: root/exercises
diff options
context:
space:
mode:
Diffstat (limited to 'exercises')
-rw-r--r--exercises/099_formatting.zig2
-rw-r--r--exercises/108_labeled_switch.zig4
2 files changed, 3 insertions, 3 deletions
diff --git a/exercises/099_formatting.zig b/exercises/099_formatting.zig
index 37fab45..ef6b84e 100644
--- a/exercises/099_formatting.zig
+++ b/exercises/099_formatting.zig
@@ -60,7 +60,7 @@
// variety of formatting instructions. It's basically a tiny
// language of its own. Here's a numeric example:
//
-// print("Catch-{x:0>4}.", .{twenty_two});
+// print("Catch-0x{x:0>4}.", .{twenty_two});
//
// This formatting instruction outputs a hexadecimal number with
// leading zeros:
diff --git a/exercises/108_labeled_switch.zig b/exercises/108_labeled_switch.zig
index 9262c6f..897fcf5 100644
--- a/exercises/108_labeled_switch.zig
+++ b/exercises/108_labeled_switch.zig
@@ -19,10 +19,10 @@
// }
// break;
// }
-// std.debug.print("This statement cannot be reached\n", .{});
+// std.debug.print("This statement cannot be reached\n", .{});
// }
//
-// By combining all we've learned so far, we can now proceed with a labeled switch
+// By combining all we've learned so far, we can now proceed with a labeled switch.
//
// A labeled switch is some extra syntactic sugar, which comes with all sorts of
// candy (performance benefits). Don't believe me? Directly to source https://github.com/ziglang/zig/pull/21367