aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/c/Type.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/codegen/c/Type.zig')
-rw-r--r--src/codegen/c/Type.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/c/Type.zig b/src/codegen/c/Type.zig
index d270e1dc9c..fa4db36a0c 100644
--- a/src/codegen/c/Type.zig
+++ b/src/codegen/c/Type.zig
@@ -989,7 +989,7 @@ pub const Pool = struct {
else
try writer.print("f{d}", .{@intFromEnum(data.string.index)});
}
- pub fn fmt(str: String, pool: *const Pool) std.fmt.Formatter(FormatData, format) {
+ pub fn fmt(str: String, pool: *const Pool) std.fmt.Alt(FormatData, format) {
return .{ .data = .{ .string = str, .pool = pool } };
}