From 3fe9b2ecd37f71f7dd11182288bfad8077cd4e7f Mon Sep 17 00:00:00 2001 From: WhySoBad <49595640+WhySoBad@users.noreply.github.com> Date: Fri, 1 May 2026 22:48:22 +0200 Subject: [PATCH] fix: update comment --- library/std/src/sys/io/error/windows.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/std/src/sys/io/error/windows.rs b/library/std/src/sys/io/error/windows.rs index 5eb9dfe06762..a4b9a4009843 100644 --- a/library/std/src/sys/io/error/windows.rs +++ b/library/std/src/sys/io/error/windows.rs @@ -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,