Fix neon compat

This commit is contained in:
Nikolay Kim 2025-03-10 12:42:59 +05:00
parent 4e77e9ce24
commit e6a25db7ee

View file

@ -352,10 +352,10 @@ mod neon {
}
impl<T> Future for Task<T> {
type Output = T;
type Output = Result<T, JoinError>;
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
Pin::new(self.task.as_mut().unwrap()).poll(cx)
Poll::Ready(Ok(ready!(Pin::new(self.task.as_mut().unwrap()).poll(cx))))
}
}