From 293d992de154be0cec8216a606b59fcba9deaf31 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Tue, 24 Sep 2019 05:13:02 +0200 Subject: [PATCH] Fix stream_extend compilation failures --- src/stream/extend.rs | 4 ++-- src/vec/extend.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/stream/extend.rs b/src/stream/extend.rs index 35c9064..b960dac 100644 --- a/src/stream/extend.rs +++ b/src/stream/extend.rs @@ -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. /// diff --git a/src/vec/extend.rs b/src/vec/extend.rs index 2ebcf34..d85589e 100644 --- a/src/vec/extend.rs +++ b/src/vec/extend.rs @@ -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 Extend for Vec { fn stream_extend<'a, S: IntoStream + 'a>(