From a21d7d7529a0ef8c937c9ed541f990ae0125b725 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Tue, 19 Aug 2025 18:59:25 +0200 Subject: [PATCH] Fix doc of `std::os::windows::io::BorrowedSocket::borrow_raw` A small oversight in 0cb69dec57f I noticed while reading. --- library/std/src/os/windows/io/socket.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/os/windows/io/socket.rs b/library/std/src/os/windows/io/socket.rs index 1c228914de93f..28e972925e667 100644 --- a/library/std/src/os/windows/io/socket.rs +++ b/library/std/src/os/windows/io/socket.rs @@ -54,7 +54,7 @@ impl BorrowedSocket<'_> { /// /// # Safety /// - /// The resource pointed to by `raw` must remain open for the duration of + /// The resource pointed to by `socket` must remain open for the duration of /// the returned `BorrowedSocket`, and it must not have the value /// `INVALID_SOCKET`. #[inline]