We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0e602 commit 17e56a5Copy full SHA for 17e56a5
src/server.rs
@@ -455,6 +455,7 @@ impl<T> Future for UnwrapToPending<T> {
455
type Output = T;
456
457
fn poll(mut self: Pin<&mut Self>, cx: &mut task::Context<'_>) -> Poll<Self::Output> {
458
+ // todo: use is_terminated from tokio 1.44 here to avoid the fused wrapper
459
match Pin::new(&mut self.0).poll(cx) {
460
Poll::Ready(Ok(x)) => Poll::Ready(x),
461
Poll::Ready(Err(_)) => Poll::Pending,
0 commit comments