pub fn print(ais: *AutoIndentingStream, comptime format: []const u8, args: anytype) Error!void ais: *AutoIndentingStreamformat: []const u8argsOutOfMemoryRan out of memory allocating call stack frames to complete rendering.
WriteFailedTransitive failure from
3355
3356
3357
3358
3359 pub fn print(ais: *AutoIndentingStream, comptime format: []const u8, args: anytype) Error!void {
try ais.applyIndent();
if (ais.disabled_offset == null) try ais.underlying_writer.print(format, args);
if (format[format.len - 1] == '\n') ais.resetLine();
}
Assumes that if the printed data ends with a newline, it is directly contained in the format string.