Move the Error
impl for NotHandle
out of platform-independent code.
This commit is contained in:
parent
5b3023c564
commit
67994b77fd
@ -232,6 +232,9 @@ fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
}
|
||||
}
|
||||
|
||||
#[unstable(feature = "io_safety", issue = "87074")]
|
||||
impl crate::error::Error for NotHandle {}
|
||||
|
||||
impl AsRawHandle for BorrowedHandle<'_> {
|
||||
#[inline]
|
||||
fn as_raw_handle(&self) -> RawHandle {
|
||||
|
Loading…
Reference in New Issue
Block a user