Skip to content

Commit f922e9c

Browse files
bors[bot]Stjepan Glavina
and
Stjepan Glavina
authored
Merge #236
236: Fix stream_extend compilation failures r=stjepang a=stjepang Co-authored-by: Stjepan Glavina <[email protected]>
2 parents a1bc097 + 293d992 commit f922e9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/stream/extend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::pin::Pin;
22

3-
use crate::future::Future;
4-
use crate::stream::{IntoStream, Stream};
3+
use crate::prelude::*;
4+
use crate::stream::IntoStream;
55

66
/// Extend a collection with the contents of a stream.
77
///

src/vec/extend.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::pin::Pin;
22

3-
use crate::future::Future;
4-
use crate::stream::{Extend, IntoStream, Stream};
3+
use crate::prelude::*;
4+
use crate::stream::{Extend, IntoStream};
55

66
impl<T> Extend<T> for Vec<T> {
77
fn stream_extend<'a, S: IntoStream<Item = T> + 'a>(

0 commit comments

Comments
 (0)