@@ -22,7 +22,7 @@ use crate::sys_common::{AsInner, FromInner, IntoInner};
2222/// so it can be used in FFI in places where a handle is passed as an argument,
2323/// it is not captured or consumed.
2424///
25- /// Note that it *may* have the value `-1`, which in `BorrowedFd ` always
25+ /// Note that it *may* have the value `-1`, which in `BorrowedHandle ` always
2626/// represents the current process handle, and not `INVALID_HANDLE_VALUE`,
2727/// despite the two having the same value. See [here] for the full story.
2828///
@@ -46,7 +46,7 @@ pub struct BorrowedHandle<'handle> {
4646///
4747/// This closes the handle on drop.
4848///
49- /// Note that it *may* have the value `-1`, which in `OwnedFd ` always
49+ /// Note that it *may* have the value `-1`, which in `OwnedHandle ` always
5050/// represents the current process handle, and not `INVALID_HANDLE_VALUE`,
5151/// despite the two having the same value. See [here] for the full story.
5252///
@@ -77,7 +77,7 @@ pub struct OwnedHandle {
7777/// `NULL`. This ensures that such FFI calls cannot start using the handle without
7878/// checking for `NULL` first.
7979///
80- /// This type may hold any handle value that [`OwnedFd `] may hold, except `NULL`. It may
80+ /// This type may hold any handle value that [`OwnedHandle `] may hold, except `NULL`. It may
8181/// hold `-1`, even though `-1` has the same value as `INVALID_HANDLE_VALUE`, because in
8282/// `HandleOrNull`, `-1` is interpreted to mean the current process handle.
8383///
@@ -97,7 +97,7 @@ pub struct HandleOrNull(OwnedHandle);
9797/// `INVALID_HANDLE_VALUE`. This ensures that such FFI calls cannot start using the handle without
9898/// checking for `INVALID_HANDLE_VALUE` first.
9999///
100- /// This type may hold any handle value that [`OwnedFd `] may hold, except `-1`. It must not
100+ /// This type may hold any handle value that [`OwnedHandle `] may hold, except `-1`. It must not
101101/// hold `-1`, because `-1` in `HandleOrInvalid` is interpreted to mean `INVALID_HANDLE_VALUE`.
102102///
103103/// This type may hold `NULL`, because APIs that use `INVALID_HANDLE_VALUE` as their sentry value
0 commit comments