mirror of
https://github.com/ziglang/zig.git
synced 2026-03-11 21:59:52 +00:00
Since `bufPrint` and `count` both control the writers used internally, they can leverage type-erased writers while maintaining correct error handling. This reduces generic instantiations when using `allocPrint`, which calls both `count` and `bufPrint` internally.