Move the Error
impl for NotHandle
out of platform-independent code.
This commit is contained in:
parent
5b3023c564
commit
67994b77fd
@ -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<'_> {
|
impl AsRawHandle for BorrowedHandle<'_> {
|
||||||
#[inline]
|
#[inline]
|
||||||
fn as_raw_handle(&self) -> RawHandle {
|
fn as_raw_handle(&self) -> RawHandle {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user