We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b9dc55 commit 53fd345Copy full SHA for 53fd345
src/stream/stream.rs
@@ -119,24 +119,6 @@ pub trait Stream {
119
/// such that after the first time `poll` returns
120
/// `Poll::Ready(None)`, all future calls to
121
/// `poll` will also return `Poll::Ready(None)`.
122
- ///
123
- /// # Examples
124
125
- /// ```
126
- /// # #![feature(async_await)]
127
- /// # fn main() { async_std::task::block_on(async {
128
- /// #
129
- /// use async_std::prelude::*;
130
- /// use async_std::stream;
131
132
- /// let mut s = stream::repeat(9).take(3);
133
134
- /// while let Some(v) = s.next().await {
135
- /// assert_eq!(v, 9);
136
- /// }
137
138
- /// # }) }
139
140
fn fuse(self) -> Fuse<Self>
141
where
142
Self: Sized,
0 commit comments