Skip to content

Commit 8516895

Browse files
committed
Fix two copy+pastos.
1 parent 713bb19 commit 8516895

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/src/os/fd/raw.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub trait AsRawFd {
3131
/// destroyed.
3232
///
3333
/// However, borrowing is not strictly required. See [`AsFd::as_fd`]
34-
/// for an API which strictly borrows a handle.
34+
/// for an API which strictly borrows a file descriptor.
3535
///
3636
/// # Example
3737
///

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ pub trait FromRawSocket {
186186
///
187187
/// The `socket` passed in must:
188188
/// - be a valid an open socket,
189-
/// - be a handle for a resource that may be freed via [`closesocket`].
189+
/// - be a socket that may be freed via [`closesocket`].
190190
///
191191
/// [`closesocket`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-closesocket
192192
#[stable(feature = "from_raw_os", since = "1.1.0")]

0 commit comments

Comments
 (0)