diff --git a/src/stream/from_stream.rs b/src/stream/from_stream.rs index 58b2ad1..d046e3b 100644 --- a/src/stream/from_stream.rs +++ b/src/stream/from_stream.rs @@ -11,7 +11,7 @@ use std::pin::Pin; /// /// [`IntoStream`]: trait.IntoStream.html #[cfg_attr(feature = "docs", doc(cfg(unstable)))] -#[cfg(feature = "unstable")] +#[cfg(any(feature = "unstable", feature = "docs"))] pub trait FromStream { /// Creates a value from a stream. ///