diff --git a/library/std/src/os/fd/raw.rs b/library/std/src/os/fd/raw.rs index 6925269c8f1..4af1c9bd8d7 100644 --- a/library/std/src/os/fd/raw.rs +++ b/library/std/src/os/fd/raw.rs @@ -31,7 +31,7 @@ pub trait AsRawFd { /// destroyed. /// /// However, borrowing is not strictly required. See [`AsFd::as_fd`] - /// for an API which strictly borrows a handle. + /// for an API which strictly borrows a file descriptor. /// /// # Example /// diff --git a/library/std/src/os/windows/io/raw.rs b/library/std/src/os/windows/io/raw.rs index 580ebfe92d7..240d14236e5 100644 --- a/library/std/src/os/windows/io/raw.rs +++ b/library/std/src/os/windows/io/raw.rs @@ -186,7 +186,7 @@ pub trait FromRawSocket { /// /// The `socket` passed in must: /// - be a valid an open socket, - /// - be a handle for a resource that may be freed via [`closesocket`]. + /// - be a socket that may be freed via [`closesocket`]. /// /// [`closesocket`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-closesocket #[stable(feature = "from_raw_os", since = "1.1.0")]