diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2025-08-26 16:34:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 16:34:13 +0200 |
| commit | 64fcb75e10b3f1d1479e3d73ca386a82b7401a72 (patch) | |
| tree | f02ba11cd17265adcd0cb658c3418736444f124b | |
| parent | c7e6f466cdae3773c68a843f2703025c746a30ec (diff) | |
| parent | a21d7d7529a0ef8c937c9ed541f990ae0125b725 (diff) | |
Rollup merge of #145615 - lorenzleutgeb:socket-doc, r=ChrisDenton
Fix doc of `std::os::windows::io::BorrowedSocket::borrow_raw` A small oversight in 0cb69dec57f I noticed while reading.
| -rw-r--r-- | library/std/src/os/windows/io/socket.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/os/windows/io/socket.rs b/library/std/src/os/windows/io/socket.rs index 1c228914de9..28e972925e6 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] |
