summaryrefslogtreecommitdiff
path: root/exercises/099_formatting.zig
diff options
context:
space:
mode:
authorfelixrabe <felixrabe@noreply.codeberg.org>2025-05-31 23:15:28 +0200
committerfelixrabe <felixrabe@noreply.codeberg.org>2025-05-31 23:15:55 +0200
commit69ad718446225aba634331c07f1cde8b24770cff (patch)
treed6b07ecdb7553a8c3b05e2724a554a6a8fb50098 /exercises/099_formatting.zig
parentfd764e90ab657f352af1440b6d9953edc113a5e5 (diff)
099: Make hex example match output
Diffstat (limited to 'exercises/099_formatting.zig')
-rw-r--r--exercises/099_formatting.zig2
1 files changed, 1 insertions, 1 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: