Skip to content

Commit f1cce89

Browse files
GrigorenkoPVgitbot
authored and
gitbot
committed
Unbreak tidy
1 parent df91b98 commit f1cce89

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

std/src/io/error.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,8 @@ pub enum ErrorKind {
446446
impl ErrorKind {
447447
pub(crate) fn as_str(&self) -> &'static str {
448448
use ErrorKind::*;
449-
// tidy-alphabetical-start
450449
match *self {
450+
// tidy-alphabetical-start
451451
AddrInUse => "address in use",
452452
AddrNotAvailable => "address not available",
453453
AlreadyExists => "entity already exists",
@@ -460,12 +460,11 @@ impl ErrorKind {
460460
Deadlock => "deadlock",
461461
DirectoryNotEmpty => "directory not empty",
462462
ExecutableFileBusy => "executable file busy",
463-
FileTooLarge => "file too large",
464463
FilesystemLoop => "filesystem loop or indirection limit (e.g. symlink loop)",
465-
QuotaExceeded => "quota exceeded",
464+
FileTooLarge => "file too large",
466465
HostUnreachable => "host unreachable",
467-
Interrupted => "operation interrupted",
468466
InProgress => "in progress",
467+
Interrupted => "operation interrupted",
469468
InvalidData => "invalid data",
470469
InvalidFilename => "invalid filename",
471470
InvalidInput => "invalid input parameter",
@@ -479,6 +478,7 @@ impl ErrorKind {
479478
Other => "other error",
480479
OutOfMemory => "out of memory",
481480
PermissionDenied => "permission denied",
481+
QuotaExceeded => "quota exceeded",
482482
ReadOnlyFilesystem => "read-only filesystem or storage medium",
483483
ResourceBusy => "resource busy",
484484
StaleNetworkFileHandle => "stale network file handle",
@@ -490,8 +490,8 @@ impl ErrorKind {
490490
Unsupported => "unsupported",
491491
WouldBlock => "operation would block",
492492
WriteZero => "write zero",
493+
// tidy-alphabetical-end
493494
}
494-
// tidy-alphabetical-end
495495
}
496496
}
497497

0 commit comments

Comments
 (0)