From e6c358bf66e17a40ff453e523bfc863b4fb3d587 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Fri, 1 May 2026 16:19:50 -0700 Subject: [PATCH] Typo fix: s/prefect/perfect/ --- library/std/src/sys/io/error/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/io/error/windows.rs b/library/std/src/sys/io/error/windows.rs index a4b9a4009843..3c2f41a90781 100644 --- a/library/std/src/sys/io/error/windows.rs +++ b/library/std/src/sys/io/error/windows.rs @@ -81,7 +81,7 @@ pub fn decode_error_kind(errno: i32) -> io::ErrorKind { c::WSAENETDOWN => NetworkDown, c::WSAENETUNREACH => NetworkUnreachable, c::WSAEDQUOT => QuotaExceeded, - // Not a prefect mapping but this error is only returned when writing to + // Not a perfect mapping but this error is only returned when writing to // a socket after shutting down the write-end. On Unix targets, EPIPE is // returned in those cases. c::WSAESHUTDOWN => BrokenPipe,