ErrorKind: Fix a spurious space

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
Ian Jackson 2021-06-18 18:46:50 +01:00
parent d59d52e455
commit 2a38dfbe04

View File

@ -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