diff options
| -rw-r--r-- | library/std/src/sys/unix/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/mod.rs b/library/std/src/sys/unix/mod.rs index 387067a505b..ee8e8e69484 100644 --- a/library/std/src/sys/unix/mod.rs +++ b/library/std/src/sys/unix/mod.rs @@ -150,7 +150,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind { libc::EPIPE => BrokenPipe, libc::ETIMEDOUT => TimedOut, - libc::EACCES | libc::EPERM => PermissionDenied, + libc::EACCES | libc::EPERM => PermissionDenied, // These two constants can have the same value on some systems, // but different values on others, so we can't use a match |
