Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
@ -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"))] {
use std::pin::Pin;
use crate::future::Future;