Skip to content

Commit 0308e73

Browse files
committed
Fixed formatting
1 parent bbabf8a commit 0308e73

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
@@ -3140,8 +3140,8 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE
31403140
// directory are open by closing and reopening the file handles.
31413141
// While this need is only documented on windows, there are some
31423142
// niche scenarios, such as WSL on ReFS, where it may be required
3143-
// on other platforms. As the workaround is low-cost, just
3144-
// use it on all platforms rather than trying to isolate every
3143+
// on other platforms. As the workaround is low-cost, just
3144+
// use it on all platforms rather than trying to isolate every
31453145
// specific case where it's needed.
31463146
const need_writable_dance: enum { no, lf_only, lf_and_debug } = w: {
31473147
if (comp.bin_file) |lf| {
@@ -3191,7 +3191,7 @@ pub fn update(comp: *Compilation, main_progress_node: std.Progress.Node) UpdateE
31913191
.root_dir = comp.dirs.local_cache,
31923192
.sub_path = try fs.path.join(arena, &.{ o_sub_path, comp.emit_bin.? }),
31933193
};
3194-
const result: (link.File.OpenError || error{HotSwapUnavailableOnHostOperatingSystem,RenameAcrossMountPoints,InvalidFileName})!void = switch (need_writable_dance) {
3194+
const result: (link.File.OpenError || error{ HotSwapUnavailableOnHostOperatingSystem, RenameAcrossMountPoints, InvalidFileName })!void = switch (need_writable_dance) {
31953195
.no => {},
31963196
.lf_only => lf.makeWritable(),
31973197
.lf_and_debug => res: {

0 commit comments

Comments
 (0)