Skip to content

Commit

Permalink
Move the Error impl for NotHandle out of platform-independent code.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Apr 18, 2022
1 parent 6976015 commit 6288593
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions std/src/os/windows/io/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ impl fmt::Display for NotHandle {
}
}

#[unstable(feature = "io_safety", issue = "87074")]
impl crate::error::Error for NotHandle {}

impl AsRawHandle for BorrowedHandle<'_> {
#[inline]
fn as_raw_handle(&self) -> RawHandle {
Expand Down

0 comments on commit 6288593

Please sign in to comment.