Typo fix: s/prefect/perfect/

This commit is contained in:
Josh Triplett
2026-05-01 16:19:50 -07:00
committed by GitHub
parent 3fe9b2ecd3
commit e6c358bf66
+1 -1
View File
@@ -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,