Add missing size_hint for Done source

This commit is contained in:
Aron Granberg 2020-10-02 17:15:34 +02:00
parent 758a39f2ba
commit 77031e7e08

View file

@ -57,6 +57,10 @@ where
}
next
}
fn size_hint(&self) -> (usize, Option<usize>) {
self.input.size_hint()
}
}
impl<I> Source for Done<I>