Remove size_hint from Stream impl
@@ -28,10 +28,6 @@ impl<T> Stream for Pending<T> {
fn poll_next(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Option<T>> {
Poll::Pending
}
-
- fn size_hint(&self) -> (usize, Option<usize>) {
- (0, Some(0))
- }
}
impl<T> DoubleEndedStream for Pending<T> {
