From 2a38dfbe047f305dcec7108e0a096fb36dac9b08 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 18 Jun 2021 18:46:50 +0100 Subject: [PATCH] ErrorKind: Fix a spurious space Signed-off-by: Ian Jackson --- library/std/src/sys/unix/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/unix/mod.rs b/library/std/src/sys/unix/mod.rs index 387067a505b0..ee8e8e69484d 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