This commit is contained in:
Oto Šťáva 2025-11-23 22:57:06 +00:00 committed by GitHub
commit 72c2f72cfb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -587,7 +587,8 @@ pub fn writeAll(w: *Writer, bytes: []const u8) Error!void {
/// - `!`: output error union value as either the unwrapped value, or the formatted error value; may be followed by a format specifier for the underlying value.
/// - `*`: output the address of the value instead of the value itself.
/// - `any`: output a value of any type using its default format.
/// - `f`: delegates to a method on the type named "format" with the signature `fn (*Writer, args: anytype) Writer.Error!void`.
/// - `f`: delegates to a method on the type named "format" with the signature `fn (self, *Writer) Writer.Error!void`.
/// See also `std.fmt.Alt`.
///
/// A user type may be a `struct`, `vector`, `union` or `enum` type.
///