mirror of
https://github.com/async-rs/async-std.git
synced 2025-03-01 15:49:41 +00:00
polish
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
84a148ddae
commit
b601bcfcb8
2 changed files with 4 additions and 3 deletions
|
@ -3,11 +3,11 @@ use std::task::{Context, Poll};
|
|||
|
||||
use futures_core::Stream;
|
||||
|
||||
/// A stream merging two streams.
|
||||
/// A stream that merges two other streams into a single stream.
|
||||
///
|
||||
/// This stream is returned by [`Stream::merge`].
|
||||
///
|
||||
/// [`Stream::merge`]:
|
||||
/// [`Stream::merge`]: trait.Stream.html#method.merge
|
||||
#[derive(Debug)]
|
||||
pub struct Merge<L, R> {
|
||||
left: L,
|
||||
|
|
|
@ -34,7 +34,6 @@ mod for_each;
|
|||
mod fuse;
|
||||
mod inspect;
|
||||
mod map;
|
||||
mod merge;
|
||||
mod min_by;
|
||||
mod next;
|
||||
mod nth;
|
||||
|
@ -88,6 +87,8 @@ cfg_if! {
|
|||
|
||||
cfg_if! {
|
||||
if #[cfg(any(feature = "unstable", feature = "docs"))] {
|
||||
mod merge;
|
||||
|
||||
use std::pin::Pin;
|
||||
|
||||
use crate::future::Future;
|
||||
|
|
Loading…
Reference in a new issue