2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-05-14 11:01:28 +00:00

Apply suggestions from code review

Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
This commit is contained in:
Fedor Sakharov 2019-09-10 15:01:25 +03:00 committed by GitHub
parent 55bdea4649
commit 9b381e427f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,6 @@ pub trait Stream {
/// Basic usage: /// Basic usage:
/// ///
/// ``` /// ```
///
/// # fn main() { async_std::task::block_on(async { /// # fn main() { async_std::task::block_on(async {
/// # /// #
/// use std::collections::VecDeque; /// use std::collections::VecDeque;
@ -158,7 +157,6 @@ pub trait Stream {
/// ///
/// let end = parsed.next().await; /// let end = parsed.next().await;
/// assert_eq!(end, None); /// assert_eq!(end, None);
///
/// # /// #
/// # }) } /// # }) }
fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F, Self::Item, B> fn filter_map<B, F>(self, f: F) -> FilterMap<Self, F, Self::Item, B>