Redefine ErrorKind::Other and stop using it in std.
This commit is contained in:
@@ -103,7 +103,7 @@ pub fn decode_error_kind(errno: i32) -> ErrorKind {
|
||||
c::WSAEWOULDBLOCK => ErrorKind::WouldBlock,
|
||||
c::WSAETIMEDOUT => ErrorKind::TimedOut,
|
||||
|
||||
_ => ErrorKind::Other,
|
||||
_ => ErrorKind::Unknown,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user