Skip to content

Commit fda74ac

Browse files
committed
mark as unstable
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 40fb485 commit fda74ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/stream/double_ended_stream.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ use crate::stream::Stream;
33
use std::pin::Pin;
44
use std::task::{Context, Poll};
55

6-
/// An stream able to yield elements from both ends.
6+
/// A stream able to yield elements from both ends.
77
///
88
/// Something that implements `DoubleEndedStream` has one extra capability
99
/// over something that implements [`Stream`]: the ability to also take
1010
/// `Item`s from the back, as well as the front.
1111
///
1212
/// [`Stream`]: trait.Stream.html
13+
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
1314
pub trait DoubleEndedStream: Stream {
1415
/// Removes and returns an element from the end of the stream.
1516
///

0 commit comments

Comments
 (0)