From a23ca7ceb1a3647b9671d929a6c4e4091a7935a7 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 21 Jul 2021 10:49:16 -0700 Subject: [PATCH] Update library/std/src/os/windows/io/handle.rs Co-authored-by: Josh Triplett --- library/std/src/os/windows/io/handle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/os/windows/io/handle.rs b/library/std/src/os/windows/io/handle.rs index d881a67709d..3f9a146786c 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()); -- GitLab