4 ms·
You can string format using `std.fmt.comptimePrint`[1]. For example, combined with features like `@compileError`[2], it allows you to make your own error messag
by Zen1th 4y ago
You can string format using `std.fmt.comptimePrint`[1]. For example, combined with features like `@compileError`[2], it allows you to make your own error messages (useful for generic functions)
[1]: https://ziglang.org/documentation/master/std/#root;fmt.comptimePrint https://ziglang.org/documentation/master/std/#root;fmt.compt...
[2]: https://ziglang.org/documentation/master/#compileError https://ziglang.org/documentation/master/#compileError