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:
Sam Tebbs 2020-07-31 09:37:40 +01:00 committed by GitHub
parent 0962cc5a32
commit 0d31877444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 => {},
}