summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-06-11 15:12:01 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-06-11 15:12:01 +0200
commit37698736ce69113a9e007530f4c3fb6113a79e1e (patch)
tree0fba6fbd4de7be35d99fa8e653fce3caa390ffcc
parentcabbef97e89f926b770ac0c363eda8d529b699a8 (diff)
parent69ad718446225aba634331c07f1cde8b24770cff (diff)
Merge pull request '099: Make hex example match output' (#274) from felixrabe/exercises:felixrabe-patch-5 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/274
-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: