236: Fix stream_extend compilation failures r=stjepang a=stjepang



Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
bors[bot] 2019-09-24 03:13:46 +00:00 committed by GitHub
commit f922e9c034
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>(