We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d0cec commit 622a45dCopy full SHA for 622a45d
library/std/src/sys/windows/mod.rs
@@ -96,8 +96,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
96
c::ERROR_DIRECTORY_NOT_SUPPORTED => return IsADirectory,
97
c::ERROR_DIR_NOT_EMPTY => return DirectoryNotEmpty,
98
c::ERROR_WRITE_PROTECT => return ReadOnlyFilesystem,
99
- c::ERROR_DISK_FULL
100
- | c::ERROR_HANDLE_DISK_FULL => return StorageFull,
+ c::ERROR_DISK_FULL | c::ERROR_HANDLE_DISK_FULL => return StorageFull,
101
c::ERROR_SEEK_ON_DEVICE => return NotSeekable,
102
c::ERROR_DISK_QUOTA_EXCEEDED => return FilesystemQuotaExceeded,
103
c::ERROR_FILE_TOO_LARGE => return FileTooLarge,
0 commit comments