1
0
Fork 0
mirror of https://codeberg.org/ziglings/exercises.git synced 2025-06-08 01:57:02 +09:00

099: Make hex example match output

This commit is contained in:
felixrabe 2025-05-31 23:15:28 +02:00
parent fd764e90ab
commit 69ad718446

View file

@ -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: