2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-15 12:56:44 +00:00

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 /// [`IntoStream`]: trait.IntoStream.html
#[cfg_attr(feature = "docs", doc(cfg(unstable)))] #[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[cfg(feature = "unstable")] #[cfg(any(feature = "unstable", feature = "docs"))]
pub trait FromStream<T: Send> { pub trait FromStream<T: Send> {
/// Creates a value from a stream. /// Creates a value from a stream.
/// ///