Skip to content

Commit f0bfdf9

Browse files
Fixed stage1 compilation error
1 parent 3ed9cdc commit f0bfdf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Autodoc.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ fn createFromPath(base_dir: std.fs.Dir, path: []const u8) !std.fs.File {
308308
} else {
309309
return dir.createFile(toc, .{}) catch |e| switch (e) {
310310
error.PathAlreadyExists => try dir.openFile(toc, .{}),
311-
else => |e| return e,
311+
else => |err| return err,
312312
};
313313
}
314314
}

0 commit comments

Comments
 (0)