@@ -430,8 +430,8 @@ pub enum ErrorKind {
430430impl ErrorKind {
431431 pub ( crate ) fn as_str ( & self ) -> & ' static str {
432432 use ErrorKind :: * ;
433- // tidy-alphabetical-start
434433 match * self {
434+ // tidy-alphabetical-start
435435 AddrInUse => "address in use" ,
436436 AddrNotAvailable => "address not available" ,
437437 AlreadyExists => "entity already exists" ,
@@ -444,9 +444,8 @@ impl ErrorKind {
444444 Deadlock => "deadlock" ,
445445 DirectoryNotEmpty => "directory not empty" ,
446446 ExecutableFileBusy => "executable file busy" ,
447- FileTooLarge => "file too large" ,
448447 FilesystemLoop => "filesystem loop or indirection limit (e.g. symlink loop)" ,
449- QuotaExceeded => "quota exceeded " ,
448+ FileTooLarge => "file too large " ,
450449 HostUnreachable => "host unreachable" ,
451450 Interrupted => "operation interrupted" ,
452451 InvalidData => "invalid data" ,
@@ -462,6 +461,7 @@ impl ErrorKind {
462461 Other => "other error" ,
463462 OutOfMemory => "out of memory" ,
464463 PermissionDenied => "permission denied" ,
464+ QuotaExceeded => "quota exceeded" ,
465465 ReadOnlyFilesystem => "read-only filesystem or storage medium" ,
466466 ResourceBusy => "resource busy" ,
467467 StaleNetworkFileHandle => "stale network file handle" ,
@@ -473,8 +473,8 @@ impl ErrorKind {
473473 Unsupported => "unsupported" ,
474474 WouldBlock => "operation would block" ,
475475 WriteZero => "write zero" ,
476+ // tidy-alphabetical-end
476477 }
477- // tidy-alphabetical-end
478478 }
479479}
480480
0 commit comments