diff --git a/src/future.rs b/src/future.rs index f88fde7..5bb96e3 100644 --- a/src/future.rs +++ b/src/future.rs @@ -496,13 +496,19 @@ impl Future for Fuse { type Output = Fut::Output; fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll { - match self.as_mut().project().inner.as_pin_mut().map(|f| f.poll(cx)) { + match self + .as_mut() + .project() + .inner + .as_pin_mut() + .map(|f| f.poll(cx)) + { Some(Poll::Ready(output)) => { self.project().inner.set(None); Poll::Ready(output) } - - Some(Poll::Pending) | None => Poll::Pending + + Some(Poll::Pending) | None => Poll::Pending, } } }