We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40fb485 commit fda74acCopy full SHA for fda74ac
src/stream/double_ended_stream.rs
@@ -3,13 +3,14 @@ use crate::stream::Stream;
3
use std::pin::Pin;
4
use std::task::{Context, Poll};
5
6
-/// An stream able to yield elements from both ends.
+/// A stream able to yield elements from both ends.
7
///
8
/// Something that implements `DoubleEndedStream` has one extra capability
9
/// over something that implements [`Stream`]: the ability to also take
10
/// `Item`s from the back, as well as the front.
11
12
/// [`Stream`]: trait.Stream.html
13
+#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
14
pub trait DoubleEndedStream: Stream {
15
/// Removes and returns an element from the end of the stream.
16
0 commit comments