2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-01-30 17:25:32 +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()
.await;
if found_error {
None
} else {
Some(out)
}
if found_error { None } else { Some(out) }
})
}
}

View file

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