diff options
| author | Carl Åstholm <carl@astholm.se> | 2024-01-07 15:54:47 +0100 |
|---|---|---|
| committer | Carl Åstholm <carl@astholm.se> | 2024-01-07 16:27:50 +0100 |
| commit | 92458094c8f8294d7bb50d28b09dd2c02b03a25e (patch) | |
| tree | fd046e58c422022b6b293b4b5da6c46698fb4829 /lib/std/meta.zig | |
| parent | c8fa767f083e610840cef688b709783c5ad66acc (diff) | |
| download | zig-92458094c8f8294d7bb50d28b09dd2c02b03a25e.tar.gz zig-92458094c8f8294d7bb50d28b09dd2c02b03a25e.zip | |
Fix failing type reifications
Diffstat (limited to 'lib/std/meta.zig')
| -rw-r--r-- | lib/std/meta.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 41b3ca291f..94d5f962bc 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -1015,7 +1015,7 @@ fn CreateUniqueTuple(comptime N: comptime_int, comptime types: [N]type) type { @setEvalBranchQuota(10_000); var num_buf: [128]u8 = undefined; tuple_fields[i] = .{ - .name = std.fmt.bufPrint(&num_buf, "{d}", .{i}) catch unreachable, + .name = std.fmt.bufPrintZ(&num_buf, "{d}", .{i}) catch unreachable, .type = T, .default_value = null, .is_comptime = false, |
