mirror of
https://github.com/async-rs/async-std.git
synced 2025-03-01 07:39:40 +00:00
Remove size_hint from Stream impl
This commit is contained in:
parent
f8dd3d9816
commit
879e14c6ab
1 changed files with 0 additions and 4 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue