We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::os::windows::io::BorrowedSocket::borrow_raw
1 parent 8c32e31 commit a21d7d7Copy full SHA for a21d7d7
library/std/src/os/windows/io/socket.rs
@@ -54,7 +54,7 @@ impl BorrowedSocket<'_> {
54
///
55
/// # Safety
56
57
- /// 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
58
/// the returned `BorrowedSocket`, and it must not have the value
59
/// `INVALID_SOCKET`.
60
#[inline]
0 commit comments