mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
fix: update comment
This commit is contained in:
@@ -82,8 +82,8 @@ pub fn decode_error_kind(errno: i32) -> io::ErrorKind {
|
||||
c::WSAENETUNREACH => NetworkUnreachable,
|
||||
c::WSAEDQUOT => QuotaExceeded,
|
||||
// Not a prefect mapping but this error is only returned when writing to
|
||||
// the closed end of a socket. On Unix targets EPIPE is returned in those
|
||||
// cases.
|
||||
// a socket after shutting down the write-end. On Unix targets, EPIPE is
|
||||
// returned in those cases.
|
||||
c::WSAESHUTDOWN => BrokenPipe,
|
||||
|
||||
_ => Uncategorized,
|
||||
|
||||
Reference in New Issue
Block a user