Skip to content

Commit

Permalink
Unbreak tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigorenkoPV authored and gitbot committed Mar 4, 2025
1 parent 20e3560 commit 7e1238c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions std/src/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,8 +446,8 @@ pub enum ErrorKind {
impl ErrorKind {
pub(crate) fn as_str(&self) -> &'static str {
use ErrorKind::*;
// tidy-alphabetical-start
match *self {
// tidy-alphabetical-start
AddrInUse => "address in use",
AddrNotAvailable => "address not available",
AlreadyExists => "entity already exists",
Expand All @@ -460,12 +460,11 @@ impl ErrorKind {
Deadlock => "deadlock",
DirectoryNotEmpty => "directory not empty",
ExecutableFileBusy => "executable file busy",
FileTooLarge => "file too large",
FilesystemLoop => "filesystem loop or indirection limit (e.g. symlink loop)",
QuotaExceeded => "quota exceeded",
FileTooLarge => "file too large",
HostUnreachable => "host unreachable",
Interrupted => "operation interrupted",
InProgress => "in progress",
Interrupted => "operation interrupted",
InvalidData => "invalid data",
InvalidFilename => "invalid filename",
InvalidInput => "invalid input parameter",
Expand All @@ -479,6 +478,7 @@ impl ErrorKind {
Other => "other error",
OutOfMemory => "out of memory",
PermissionDenied => "permission denied",
QuotaExceeded => "quota exceeded",
ReadOnlyFilesystem => "read-only filesystem or storage medium",
ResourceBusy => "resource busy",
StaleNetworkFileHandle => "stale network file handle",
Expand All @@ -490,8 +490,8 @@ impl ErrorKind {
Unsupported => "unsupported",
WouldBlock => "operation would block",
WriteZero => "write zero",
// tidy-alphabetical-end
}
// tidy-alphabetical-end
}
}

Expand Down

0 comments on commit 7e1238c

Please sign in to comment.