mirror of
https://github.com/ziglang/zig.git
synced 2026-11-22 04:37:39 -05:00
Print } as format argument in enum build option (#5953)
Co-authored-by: Veikka Tuominen <git@vexu.eu> Co-authored-by: Joachim Schmidt <joachim.schmidt557@outlook.com>
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1710,7 +1710,7 @@ pub const LibExeObjStep = struct {
|
||||
inline for (enum_info.fields) |field| {
|
||||
out.print(" {},\n", .{field.name}) catch unreachable;
|
||||
}
|
||||
out.print("}};\n", .{}) catch unreachable;
|
||||
out.writeAll("};\n") catch unreachable;
|
||||
},
|
||||
else => {},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user