mark as unstable

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-09-13 19:36:57 +02:00
parent 40fb485cca
commit fda74ac0ab
No known key found for this signature in database
GPG key ID: 24EA8164F96777ED

View file

@ -3,13 +3,14 @@ use crate::stream::Stream;
use std::pin::Pin; use std::pin::Pin;
use std::task::{Context, Poll}; 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 /// Something that implements `DoubleEndedStream` has one extra capability
/// over something that implements [`Stream`]: the ability to also take /// over something that implements [`Stream`]: the ability to also take
/// `Item`s from the back, as well as the front. /// `Item`s from the back, as well as the front.
/// ///
/// [`Stream`]: trait.Stream.html /// [`Stream`]: trait.Stream.html
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
pub trait DoubleEndedStream: Stream { pub trait DoubleEndedStream: Stream {
/// Removes and returns an element from the end of the stream. /// Removes and returns an element from the end of the stream.
/// ///