Update src/stream/from_stream.rs

Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-09-18 12:42:58 +02:00 committed by GitHub
parent b670600555
commit bfb16790c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<T: Send> {
/// Creates a value from a stream.
///