diff --git a/src/async_impl/body.rs b/src/async_impl/body.rs
index 454046dd0..ba4ad56fa 100644
--- a/src/async_impl/body.rs
+++ b/src/async_impl/body.rs
@@ -1,7 +1,7 @@
use std::fmt;
use std::future::Future;
use std::pin::Pin;
-use std::task::{Context, Poll};
+use std::task::{ready, Context, Poll};
use std::time::Duration;
use bytes::Bytes;
@@ -273,7 +273,7 @@ impl HttpBody for Body {
}
}
Inner::Streaming(ref mut body) => Poll::Ready(
- futures_core::ready!(Pin::new(body).poll_frame(cx))
+ ready!(Pin::new(body).poll_frame(cx))
.map(|opt_chunk| opt_chunk.map_err(crate::error::body)),
),
}
@@ -328,7 +328,7 @@ where
return Poll::Ready(Some(Err(crate::error::body(crate::error::TimedOut))));
}
Poll::Ready(
- futures_core::ready!(this.inner.poll_frame(cx))
+ ready!(this.inner.poll_frame(cx))
.map(|opt_chunk| opt_chunk.map_err(crate::error::body)),
)
}
@@ -371,7 +371,7 @@ where
return Poll::Ready(Some(Err(crate::error::body(crate::error::TimedOut))));
}
- let item = futures_core::ready!(this.inner.poll_frame(cx))
+ let item = ready!(this.inner.poll_frame(cx))
.map(|opt_chunk| opt_chunk.map_err(crate::error::body));
// a ready frame means timeout is reset
this.sleep.set(None);
@@ -442,7 +442,7 @@ where
fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context) -> Poll