Skip to content

Commit 67994b7

Browse files
committed
Move the Error impl for NotHandle out of platform-independent code.
1 parent 5b3023c commit 67994b7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/std/src/os/windows/io/handle.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,9 @@ impl fmt::Display for NotHandle {
232232
}
233233
}
234234

235+
#[unstable(feature = "io_safety", issue = "87074")]
236+
impl crate::error::Error for NotHandle {}
237+
235238
impl AsRawHandle for BorrowedHandle<'_> {
236239
#[inline]
237240
fn as_raw_handle(&self) -> RawHandle {

0 commit comments

Comments
 (0)