Update src/stream/stream/mod.rs

Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
pull/209/head
Yoshua Wuyts 5 years ago committed by GitHub
parent bfb16790c3
commit f7ec3f4e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -754,7 +754,7 @@ pub trait Stream {
/// [`stream`]: trait.Stream.html#tymethod.next
#[must_use = "if you really need to exhaust the iterator, consider `.for_each(drop)` instead (TODO)"]
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[cfg(feature = "unstable")]
#[cfg(any(feature = "unstable", feature = "docs"))]
fn collect<'a, B>(self) -> dyn_ret!('a, B)
where
Self: futures_core::stream::Stream + Sized + Send + 'a,

Loading…
Cancel
Save