@@ -435,8 +435,8 @@ pub enum ErrorKind {
435435impl ErrorKind {
436436 pub ( crate ) fn as_str ( & self ) -> & ' static str {
437437 use ErrorKind :: * ;
438- // tidy-alphabetical-start
439438 match * self {
439+ // tidy-alphabetical-start
440440 AddrInUse => "address in use" ,
441441 AddrNotAvailable => "address not available" ,
442442 AlreadyExists => "entity already exists" ,
@@ -449,12 +449,11 @@ impl ErrorKind {
449449 Deadlock => "deadlock" ,
450450 DirectoryNotEmpty => "directory not empty" ,
451451 ExecutableFileBusy => "executable file busy" ,
452- FileTooLarge => "file too large" ,
453452 FilesystemLoop => "filesystem loop or indirection limit (e.g. symlink loop)" ,
454- QuotaExceeded => "quota exceeded " ,
453+ FileTooLarge => "file too large " ,
455454 HostUnreachable => "host unreachable" ,
456- Interrupted => "operation interrupted" ,
457455 InProgress => "in progress" ,
456+ Interrupted => "operation interrupted" ,
458457 InvalidData => "invalid data" ,
459458 InvalidFilename => "invalid filename" ,
460459 InvalidInput => "invalid input parameter" ,
@@ -468,6 +467,7 @@ impl ErrorKind {
468467 Other => "other error" ,
469468 OutOfMemory => "out of memory" ,
470469 PermissionDenied => "permission denied" ,
470+ QuotaExceeded => "quota exceeded" ,
471471 ReadOnlyFilesystem => "read-only filesystem or storage medium" ,
472472 ResourceBusy => "resource busy" ,
473473 StaleNetworkFileHandle => "stale network file handle" ,
@@ -479,8 +479,8 @@ impl ErrorKind {
479479 Unsupported => "unsupported" ,
480480 WouldBlock => "operation would block" ,
481481 WriteZero => "write zero" ,
482+ // tidy-alphabetical-end
482483 }
483- // tidy-alphabetical-end
484484 }
485485}
486486
0 commit comments