Skip to content

Commit 53fd345

Browse files
author
Tyler Neely
committed
Remove irrelevant example
1 parent 8b9dc55 commit 53fd345

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/stream/stream.rs

-18
Original file line numberDiff line numberDiff line change
@@ -119,24 +119,6 @@ pub trait Stream {
119119
/// such that after the first time `poll` returns
120120
/// `Poll::Ready(None)`, all future calls to
121121
/// `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-
/// ```
140122
fn fuse(self) -> Fuse<Self>
141123
where
142124
Self: Sized,

0 commit comments

Comments
 (0)