Skip to content

Commit f7ec3f4

Browse files
yoshuawuytsStjepan Glavina
andauthored
Update src/stream/stream/mod.rs
Co-Authored-By: Stjepan Glavina <[email protected]>
1 parent bfb1679 commit f7ec3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,7 @@ pub trait Stream {
754754
/// [`stream`]: trait.Stream.html#tymethod.next
755755
#[must_use = "if you really need to exhaust the iterator, consider `.for_each(drop)` instead (TODO)"]
756756
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
757-
#[cfg(feature = "unstable")]
757+
#[cfg(any(feature = "unstable", feature = "docs"))]
758758
fn collect<'a, B>(self) -> dyn_ret!('a, B)
759759
where
760760
Self: futures_core::stream::Stream + Sized + Send + 'a,

0 commit comments

Comments
 (0)