Skip to content

Commit

Permalink
generate_c_size_and_align_checks: Remove extraneous newline
Browse files Browse the repository at this point in the history
Groups the assertions together properly.
  • Loading branch information
alexrp authored and andrewrk committed Aug 8, 2024
1 parent 61fbdeb commit 6976a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/generate_c_size_and_align_checks.zig
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn main() !void {
c_name(c_type),
target.c_type_byte_size(c_type),
});
try stdout.print("_Static_assert(_Alignof({0s}) == {1d}, \"_Alignof({0s}) == {1d}\");\n\n", .{
try stdout.print("_Static_assert(_Alignof({0s}) == {1d}, \"_Alignof({0s}) == {1d}\");\n", .{
c_name(c_type),
target.c_type_alignment(c_type),
});
Expand Down

0 comments on commit 6976a5d

Please sign in to comment.