forked from mirror/async-std
Apply suggestions from code review
Co-Authored-By: Yoshua Wuyts <yoshuawuyts+github@gmail.com>
This commit is contained in:
parent
55bdea4649
commit
9b381e427f
1 changed files with 0 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue