| author | |
| committer | |
| log | a4fe438d3940d0beff16c939e991fdff24eb6ba2 |
| tree | b00c71296e76654bfb85e956490a8b1fcb36ead2 |
| parent | 49c0cd6e8ef2efcd2c7edc8b41fc8c0a10c8b350 |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fmt.zig+1-1| ... | ... | @@ -1183,7 +1183,7 @@ fn bufPrintIntToSlice(buf: []u8, value: anytype, base: u8, uppercase: bool, opti |
| 1183 | 1183 | |
| 1184 | 1184 | pub fn comptimePrint(comptime fmt: []const u8, args: anytype) *const [count(fmt, args)]u8 { |
| 1185 | 1185 | comptime var buf: [count(fmt, args)]u8 = undefined; |
| 1186 | _ = bufPrint(&buf, fmt, args) catch |err| @compileError(err); | |
| 1186 | _ = bufPrint(&buf, fmt, args) catch unreachable; | |
| 1187 | 1187 | return &buf; |
| 1188 | 1188 | } |
| 1189 | 1189 |