Update URL to, and function name of, fmt string documentation/comment

This commit is contained in:
Gregor Hartmann 2025-12-19 15:46:02 +01:00
parent bb4e984a8e
commit 0010cb2a68

View File

@ -13,10 +13,10 @@
// no official documentation for standard library features such // no official documentation for standard library features such
// as string formatting. // as string formatting.
// //
// Therefore, the comments for the format() function are the only // Therefore, the comments for the std.Io.Writer.print() function are
// way to definitively learn how to format strings in Zig: // the only way to definitively learn how to format strings in Zig:
// //
// https://github.com/ziglang/zig/blob/master/lib/std/fmt.zig#L33 // https://codeberg.org/ziglang/zig/src/branch/master/lib/std/Io/Writer.zig#L568
// //
// Zig already has a very nice selection of formatting options. // Zig already has a very nice selection of formatting options.
// These can be used in different ways, but generally to convert // These can be used in different ways, but generally to convert