diff options
| author | Tom <git@halffull.org> | 2026-04-14 21:36:06 -0700 |
|---|---|---|
| committer | Tom <git@halffull.org> | 2026-04-14 21:36:06 -0700 |
| commit | cb0489904e3c1cf20eb9826fe6498861a673465f (patch) | |
| tree | 82ea5387cdc275783cef9f8ca5b43ab387a32f6d | |
| parent | d4a3bad19ce163276e8373ac460bc40a33241067 (diff) | |
Fix formatting reference link
| -rw-r--r-- | exercises/102_formatting.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/102_formatting.zig b/exercises/102_formatting.zig index be16978..5d8f68b 100644 --- a/exercises/102_formatting.zig +++ b/exercises/102_formatting.zig @@ -13,10 +13,10 @@ // no official documentation for standard library features such // as string formatting. // -// Therefore, the comments for the format() function are the only +// Therefore, the comments for the print() function are the only // way to definitively learn how to format strings in Zig: // -// https://codeberg.org/ziglang/zig/src/branch/master/lib/std/Io/Writer.zig#L537 +// https://ziglang.org/documentation/master/std/#std.Io.Writer.print // // Zig already has a very nice selection of formatting options. // These can be used in different ways, but generally to convert @@ -56,7 +56,7 @@ // the placeholder will determine how the corresponding value, // e.g. foo, is displayed. // -// And this is where it gets exciting, because format() accepts a +// And this is where it gets exciting, because print() accepts a // variety of formatting instructions. It's basically a tiny // language of its own. Here's a numeric example: // |
