Skip to content

Commit cdd4215

Browse files
committed
forgot None case
1 parent 2d75ffa commit cdd4215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/stream/stream/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ pub trait Stream {
157157
/// assert_eq!(s.next().await, Some((0, 'a')));
158158
/// assert_eq!(s.next().await, Some((1, 'b')));
159159
/// assert_eq!(s.next().await, Some((2, 'c')));
160+
/// assert_eq!(s.next().await, None);
160161
///
161162
/// #
162163
/// # }) }

0 commit comments

Comments
 (0)