Skip to content

Commit 2a38dfb

Browse files
committed
ErrorKind: Fix a spurious space
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
1 parent d59d52e commit 2a38dfb

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/unix

1 file changed

+1
-1
lines changed

library/std/src/sys/unix/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
150150
libc::EPIPE => BrokenPipe,
151151
libc::ETIMEDOUT => TimedOut,
152152

153-
libc::EACCES | libc::EPERM => PermissionDenied,
153+
libc::EACCES | libc::EPERM => PermissionDenied,
154154

155155
// These two constants can have the same value on some systems,
156156
// but different values on others, so we can't use a match

0 commit comments

Comments
 (0)