diff --git a/futures-core/src/stream.rs b/futures-core/src/stream.rs index 37c60c9c6b..1f0f9a6e45 100644 --- a/futures-core/src/stream.rs +++ b/futures-core/src/stream.rs @@ -214,22 +214,6 @@ mod if_alloc { } } - impl Stream for alloc::collections::VecDeque { - type Item = T; - - fn poll_next( - mut self: Pin<&mut Self>, - _cx: &mut Context<'_>, - ) -> Poll> { - Poll::Ready(self.pop_front()) - } - - fn size_hint(&self) -> (usize, Option) { - let len = self.len(); - (len, Some(len)) - } - } - #[cfg(feature = "std")] impl Stream for std::panic::AssertUnwindSafe { type Item = S::Item;