diff --git a/src/body/body.rs b/src/body/body.rs
index 9164320a0a..fddf4f07b8 100644
--- a/src/body/body.rs
+++ b/src/body/body.rs
@@ -2,6 +2,9 @@ use std::borrow::Cow;
#[cfg(feature = "stream")]
use std::error::Error as StdError;
use std::fmt;
+use std::future::Future;
+use std::pin::Pin;
+use std::task::{Context, Poll};
use bytes::Bytes;
use futures_channel::mpsc;
@@ -15,10 +18,9 @@ use http_body::{Body as HttpBody, SizeHint};
use super::DecodedLength;
#[cfg(feature = "stream")]
use crate::common::sync_wrapper::SyncWrapper;
-use crate::common::Future;
+use crate::common::watch;
#[cfg(all(feature = "client", any(feature = "http1", feature = "http2")))]
use crate::common::Never;
-use crate::common::{task, watch, Pin, Poll};
#[cfg(all(feature = "http2", any(feature = "client", feature = "server")))]
use crate::proto::h2::ping;
@@ -239,7 +241,7 @@ impl Body {
.get_or_insert_with(|| Box::new(Extra { delayed_eof: None }))
}
- fn poll_eof(&mut self, cx: &mut task::Context<'_>) -> Poll