2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-28 07:09:40 +00:00

Fix stream_extend compilation failures

This commit is contained in:
Stjepan Glavina 2019-09-24 05:13:02 +02:00
parent a1bc097ffd
commit 293d992de1
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
use std::pin::Pin;
use crate::future::Future;
use crate::stream::{IntoStream, Stream};
use crate::prelude::*;
use crate::stream::IntoStream;
/// Extend a collection with the contents of a stream.
///

View file

@ -1,7 +1,7 @@
use std::pin::Pin;
use crate::future::Future;
use crate::stream::{Extend, IntoStream, Stream};
use crate::prelude::*;
use crate::stream::{Extend, IntoStream};
impl<T> Extend<T> for Vec<T> {
fn stream_extend<'a, S: IntoStream<Item = T> + 'a>(