forked from mirror/async-std
Update src/stream/stream/mod.rs
Co-Authored-By: Stjepan Glavina <stjepang@gmail.com>
This commit is contained in:
parent
bfb16790c3
commit
f7ec3f4e2d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue