Skip to content

Commit 879e14c

Browse files
lqf96k-nasa
authored andcommitted
Remove size_hint from Stream impl
1 parent f8dd3d9 commit 879e14c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/stream/pending.rs

Lines changed: 0 additions & 4 deletions
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)