Skip to content

Commit 01af68b

Browse files
committed
Remove size_hint from Stream impl
1 parent 1d8632c commit 01af68b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/stream/pending.rs

-4
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ impl<T> Stream for Pending<T> {
2828
fn poll_next(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<Option<T>> {
2929
Poll::Pending
3030
}
31-
32-
fn size_hint(&self) -> (usize, Option<usize>) {
33-
(0, Some(0))
34-
}
3531
}
3632

3733
impl<T> DoubleEndedStream for Pending<T> {

0 commit comments

Comments
 (0)