Function fmtAssumeCapacity [src]

Prototype

pub fn fmtAssumeCapacity(self: *Builder, comptime fmt_str: []const u8, fmt_args: anytype) String

Parameters

self: *Builderfmt_str: []const u8

Source

pub fn fmtAssumeCapacity(self: *Builder, comptime fmt_str: []const u8, fmt_args: anytype) String { self.string_bytes.writer(undefined).print(fmt_str, fmt_args) catch unreachable; return self.trailingStringAssumeCapacity(); }