From fda74ac0ab36156a09ec6ac1a73f6e73444bafb4 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Fri, 13 Sep 2019 19:36:57 +0200 Subject: [PATCH] mark as unstable Signed-off-by: Yoshua Wuyts --- src/stream/double_ended_stream.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stream/double_ended_stream.rs b/src/stream/double_ended_stream.rs index 6f41e61e..2287cc64 100644 --- a/src/stream/double_ended_stream.rs +++ b/src/stream/double_ended_stream.rs @@ -3,13 +3,14 @@ use crate::stream::Stream; use std::pin::Pin; use std::task::{Context, Poll}; -/// An stream able to yield elements from both ends. +/// A stream able to yield elements from both ends. /// /// Something that implements `DoubleEndedStream` has one extra capability /// over something that implements [`Stream`]: the ability to also take /// `Item`s from the back, as well as the front. /// /// [`Stream`]: trait.Stream.html +#[cfg_attr(feature = "docs", doc(cfg(unstable)))] pub trait DoubleEndedStream: Stream { /// Removes and returns an element from the end of the stream. ///