Update library/std/src/os/windows/io/handle.rs
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
parent
3a38511ab3
commit
a23ca7ceb1
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ impl FromRawHandle for OwnedHandle {
|
|||
/// # Safety
|
||||
///
|
||||
/// The resource pointed to by `raw` must be open and suitable for assuming
|
||||
/// ownership.
|
||||
/// ownership. The resource must not require any cleanup other than `CloseHandle`.
|
||||
#[inline]
|
||||
unsafe fn from_raw_handle(raw: RawHandle) -> Self {
|
||||
assert!(!raw.is_null());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue