Fix compile error in os.renameatW

Introduced in 5e3fa0e94f

Whoops!
This commit is contained in:
Ryan Liptak
2020-09-17 15:47:09 -07:00
committed by Andrew Kelley
parent f125288c9b
commit fbde15fdf4

View File

@@ -2107,7 +2107,7 @@ pub fn renameatW(
.ACCESS_DENIED => return error.AccessDenied,
.OBJECT_NAME_NOT_FOUND => return error.FileNotFound,
.OBJECT_PATH_NOT_FOUND => return error.FileNotFound,
.NOT_SAME_DEVICE => error.RenameAcrossMountPoints,
.NOT_SAME_DEVICE => return error.RenameAcrossMountPoints,
else => return windows.unexpectedStatus(rc),
}
}