2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-16 10:49:55 +00:00

Remove doc Stream impl for VecDeque (#461)

This commit is contained in:
Gabriel Majeri 2019-11-06 10:35:31 +02:00 committed by Stjepan Glavina
parent 3144e217ae
commit d502453057

View file

@ -2067,14 +2067,6 @@ extension_trait! {
} }
} }
impl<T: Unpin> Stream for std::collections::VecDeque<T> {
type Item = T;
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
unreachable!("this impl only appears in the rendered docs")
}
}
impl<S: Stream> Stream for std::panic::AssertUnwindSafe<S> { impl<S: Stream> Stream for std::panic::AssertUnwindSafe<S> {
type Item = S::Item; type Item = S::Item;