mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-25 09:46:49 +00:00
Merge #236
236: Fix stream_extend compilation failures r=stjepang a=stjepang Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
commit
f922e9c034
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
use std::pin::Pin;
|
use std::pin::Pin;
|
||||||
|
|
||||||
use crate::future::Future;
|
use crate::prelude::*;
|
||||||
use crate::stream::{IntoStream, Stream};
|
use crate::stream::IntoStream;
|
||||||
|
|
||||||
/// Extend a collection with the contents of a stream.
|
/// Extend a collection with the contents of a stream.
|
||||||
///
|
///
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
use std::pin::Pin;
|
use std::pin::Pin;
|
||||||
|
|
||||||
use crate::future::Future;
|
use crate::prelude::*;
|
||||||
use crate::stream::{Extend, IntoStream, Stream};
|
use crate::stream::{Extend, IntoStream};
|
||||||
|
|
||||||
impl<T> Extend<T> for Vec<T> {
|
impl<T> Extend<T> for Vec<T> {
|
||||||
fn stream_extend<'a, S: IntoStream<Item = T> + 'a>(
|
fn stream_extend<'a, S: IntoStream<Item = T> + 'a>(
|
||||||
|
|
Loading…
Reference in a new issue