Move the Error impl for NotHandle out of platform-independent code.

This commit is contained in:
Dan Gohman 2022-03-27 16:54:58 -07:00
parent 5b3023c564
commit 67994b77fd

View file

@ -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 {