Skip to content

Commit 622a45d

Browse files
committed
ErrorKind: Windows: Fix tidy
Signed-off-by: Ian Jackson <[email protected]>
1 parent 58d0cec commit 622a45d

File tree

1 file changed

+1
-2
lines changed
  • library/std/src/sys/windows

1 file changed

+1
-2
lines changed

library/std/src/sys/windows/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
9696
c::ERROR_DIRECTORY_NOT_SUPPORTED => return IsADirectory,
9797
c::ERROR_DIR_NOT_EMPTY => return DirectoryNotEmpty,
9898
c::ERROR_WRITE_PROTECT => return ReadOnlyFilesystem,
99-
c::ERROR_DISK_FULL
100-
| c::ERROR_HANDLE_DISK_FULL => return StorageFull,
99+
c::ERROR_DISK_FULL | c::ERROR_HANDLE_DISK_FULL => return StorageFull,
101100
c::ERROR_SEEK_ON_DEVICE => return NotSeekable,
102101
c::ERROR_DISK_QUOTA_EXCEEDED => return FilesystemQuotaExceeded,
103102
c::ERROR_FILE_TOO_LARGE => return FileTooLarge,

0 commit comments

Comments
 (0)