We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b5836e commit 8bb212bCopy full SHA for 8bb212b
src/cli/fmt.zig
@@ -154,10 +154,7 @@ fn formatFile(
154
return;
155
}
156
157
- var wbuf: [1024]u8 = undefined;
158
- var af = try base_dir.atomicFile(sub_path, .{
159
- .write_buffer = &wbuf,
160
- });
+ var af = try base_dir.atomicFile(sub_path, .{ .write_buffer = &.{} });
161
defer af.deinit();
162
163
try af.file_writer.interface.writeAll(out_bytes);
0 commit comments