my ziglings
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix formatting reference link

Tom (Apr 14, 2026, 9:36 PM -0700) cb048990 d4a3bad1

+3 -3
+3 -3
exercises/102_formatting.zig
··· 13 13 // no official documentation for standard library features such 14 14 // as string formatting. 15 15 // 16 - // Therefore, the comments for the format() function are the only 16 + // Therefore, the comments for the print() function are the only 17 17 // way to definitively learn how to format strings in Zig: 18 18 // 19 - // https://codeberg.org/ziglang/zig/src/branch/master/lib/std/Io/Writer.zig#L537 19 + // https://ziglang.org/documentation/master/std/#std.Io.Writer.print 20 20 // 21 21 // Zig already has a very nice selection of formatting options. 22 22 // These can be used in different ways, but generally to convert ··· 56 56 // the placeholder will determine how the corresponding value, 57 57 // e.g. foo, is displayed. 58 58 // 59 - // And this is where it gets exciting, because format() accepts a 59 + // And this is where it gets exciting, because print() accepts a 60 60 // variety of formatting instructions. It's basically a tiny 61 61 // language of its own. Here's a numeric example: 62 62 //