diff --git a/library/std/src/os/windows/io/handle.rs b/library/std/src/os/windows/io/handle.rs index d881a67709d8f6c5b248fe3d3cdc145c6c160691..3f9a146786c55216a74fc6c94289785e98e8d75a 100644 --- a/library/std/src/os/windows/io/handle.rs +++ b/library/std/src/os/windows/io/handle.rs @@ -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());