| author | |
| committer | |
| log | d0d7895d3308763422e4da0eb5d6e03c445f1b08 |
| tree | 95332f214fd3d89cb79bf555acaff2536a2ddf6c |
| parent | 45d6fb9e3691120428a70f659cc211faf6cb1897 |
That removes the other switch cases (`error.WouldBlock` here) from the
error set, I think.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os.zig+1-1| ... | ... | @@ -1682,7 +1682,7 @@ pub fn renameatW( |
| 1682 | 1682 | const access_mask = windows.SYNCHRONIZE | windows.GENERIC_WRITE | windows.DELETE; |
| 1683 | 1683 | const src_fd = windows.OpenFileW(old_dir_fd, old_path, null, access_mask, null, false, windows.FILE_OPEN) catch |err| switch (err) { |
| 1684 | 1684 | error.WouldBlock => unreachable, |
| 1685 | else => return err, | |
| 1685 | else => |e| return e, | |
| 1686 | 1686 | }; |
| 1687 | 1687 | defer windows.CloseHandle(src_fd); |
| 1688 | 1688 |