about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLorenz Leutgeb <lorenz.leutgeb@posteo.eu>2025-08-19 18:59:25 +0200
committerLorenz Leutgeb <lorenz.leutgeb@posteo.eu>2025-08-19 18:59:25 +0200
commita21d7d7529a0ef8c937c9ed541f990ae0125b725 (patch)
tree8ce31d033606e0b378914fe8829cf29f5a64d534
parent8c32e313cccf7df531e2d49ffb8227bb92304aee (diff)
downloadrust-a21d7d7529a0ef8c937c9ed541f990ae0125b725.tar.gz
rust-a21d7d7529a0ef8c937c9ed541f990ae0125b725.zip
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.rs2
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]