From 9a07196402893605c0594b0c705dffa7f57091c7 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Wed, 18 Sep 2019 12:43:14 +0200 Subject: [PATCH] Update src/stream/double_ended_stream.rs Co-Authored-By: Stjepan Glavina --- src/stream/double_ended_stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream/double_ended_stream.rs b/src/stream/double_ended_stream.rs index bb5df74f..6fab77c2 100644 --- a/src/stream/double_ended_stream.rs +++ b/src/stream/double_ended_stream.rs @@ -11,7 +11,7 @@ use std::task::{Context, Poll}; /// /// [`Stream`]: trait.Stream.html #[cfg_attr(feature = "docs", doc(cfg(unstable)))] -#[cfg(feature = "unstable")] +#[cfg(any(feature = "unstable", feature = "docs"))] pub trait DoubleEndedStream: Stream { /// Removes and returns an element from the end of the stream. ///