File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ pub trait AsRawFd {
31
31
/// destroyed.
32
32
///
33
33
/// 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 .
35
35
///
36
36
/// # Example
37
37
///
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ pub trait FromRawSocket {
186
186
///
187
187
/// The `socket` passed in must:
188
188
/// - 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`].
190
190
///
191
191
/// [`closesocket`]: https://docs.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-closesocket
192
192
#[ stable( feature = "from_raw_os" , since = "1.1.0" ) ]
You can’t perform that action at this time.
0 commit comments