Skip to content

Commit 20f6ff6

Browse files
committed
Fixed formatting
1 parent 6e456fb commit 20f6ff6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Compilation.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3129,8 +3129,8 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE
31293129
// directory are open by closing and reopening the file handles.
31303130
// While this need is only documented on windows, there are some
31313131
// niche scenarios, such as WSL on ReFS, where it may be required
3132-
// on other platforms. As the workaround is low-cost, just
3133-
// use it on all platforms rather than trying to isolate every
3132+
// on other platforms. As the workaround is low-cost, just
3133+
// use it on all platforms rather than trying to isolate every
31343134
// specific case where it's needed.
31353135
const need_writable_dance: enum { no, lf_only, lf_and_debug } = w: {
31363136
if (comp.bin_file) |lf| {
@@ -3180,7 +3180,7 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE
31803180
.root_dir = comp.dirs.local_cache,
31813181
.sub_path = try fs.path.join(arena, &.{ o_sub_path, comp.emit_bin.? }),
31823182
};
3183-
const result: (link.File.OpenError || error{HotSwapUnavailableOnHostOperatingSystem,RenameAcrossMountPoints,InvalidFileName})!void = switch (need_writable_dance) {
3183+
const result: (link.File.OpenError || error{ HotSwapUnavailableOnHostOperatingSystem, RenameAcrossMountPoints, InvalidFileName })!void = switch (need_writable_dance) {
31843184
.no => {},
31853185
.lf_only => lf.makeWritable(),
31863186
.lf_and_debug => res: {

0 commit comments

Comments
 (0)