| ... | ... | @@ -599,11 +599,15 @@ pub fn writeAll(w: *Writer, bytes: []const u8) Error!void { |
| 599 | 599 | /// - `u`: integer as an UTF-8 sequence. Integer type must have 21 bits at max. |
| 600 | 600 | /// - `B`: bytes in SI units (decimal) |
| 601 | 601 | /// - `Bi`: bytes in IEC units (binary) |
| 602 | | /// - `?`: optional value as either the unwrapped value, or `null`; may be followed by a format specifier for the underlying value. |
| 603 | | /// - `!`: error union value as either the unwrapped value, or the formatted error value; may be followed by a format specifier for the underlying value. |
| 602 | /// - `?`: optional value as either the unwrapped value, or `null`; may be |
| 603 | /// followed by a format specifier for the underlying value. |
| 604 | /// - `!`: error union value as either the unwrapped value, or the formatted |
| 605 | /// error value; may be followed by a format specifier for the underlying |
| 606 | /// value. |
| 604 | 607 | /// - `*`: the address of the value instead of the value itself. |
| 605 | 608 | /// - `any`: a value of any type using its default format. |
| 606 | | /// - `f`: delegates to a method on the type named "format" with the signature `fn (*Writer, args: anytype) Writer.Error!void`. |
| 609 | /// - `f`: delegates to the `format` method of the type, passing `*Writer` and |
| 610 | /// expecting `Error!void` returned. |
| 607 | 611 | /// |
| 608 | 612 | /// A user type may be a struct, vector, union or enum type. |
| 609 | 613 | /// |