diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-06-11 15:12:01 +0200 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-06-11 15:12:01 +0200 |
| commit | 37698736ce69113a9e007530f4c3fb6113a79e1e (patch) | |
| tree | 0fba6fbd4de7be35d99fa8e653fce3caa390ffcc /exercises/099_formatting.zig | |
| parent | cabbef97e89f926b770ac0c363eda8d529b699a8 (diff) | |
| parent | 69ad718446225aba634331c07f1cde8b24770cff (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
Diffstat (limited to 'exercises/099_formatting.zig')
| -rw-r--r-- | exercises/099_formatting.zig | 2 |
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: |
