2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-26 10:16:49 +00:00
This commit is contained in:
Sunjay Varma 2019-09-30 20:14:16 -04:00
parent fb7582bd7a
commit a05b564486
2 changed files with 2 additions and 6 deletions

View file

@ -39,11 +39,7 @@ where
.collect() .collect()
.await; .await;
if found_error { if found_error { None } else { Some(out) }
None
} else {
Some(out)
}
}) })
} }
} }

View file

@ -1,6 +1,6 @@
use std::pin::Pin; use std::pin::Pin;
use crate::stream::{FromStream, IntoStream, Extend}; use crate::stream::{Extend, FromStream, IntoStream};
impl<T> FromStream<T> for Vec<T> { impl<T> FromStream<T> for Vec<T> {
#[inline] #[inline]