Skip to content

Commit 29c5818

Browse files
authored
Unrolled build for #145615
Rollup merge of #145615 - lorenzleutgeb:socket-doc, r=ChrisDenton Fix doc of `std::os::windows::io::BorrowedSocket::borrow_raw` A small oversight in 0cb69de I noticed while reading.
2 parents 5ab6924 + a21d7d7 commit 29c5818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/os/windows/io/socket.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl BorrowedSocket<'_> {
5454
///
5555
/// # Safety
5656
///
57-
/// The resource pointed to by `raw` must remain open for the duration of
57+
/// The resource pointed to by `socket` must remain open for the duration of
5858
/// the returned `BorrowedSocket`, and it must not have the value
5959
/// `INVALID_SOCKET`.
6060
#[inline]

0 commit comments

Comments
 (0)