forked from mirror/async-std
forgot None case
This commit is contained in:
parent
2d75ffacc4
commit
cdd4215e8f
1 changed files with 1 additions and 0 deletions
|
@ -157,6 +157,7 @@ pub trait Stream {
|
|||
/// assert_eq!(s.next().await, Some((0, 'a')));
|
||||
/// assert_eq!(s.next().await, Some((1, 'b')));
|
||||
/// assert_eq!(s.next().await, Some((2, 'c')));
|
||||
/// assert_eq!(s.next().await, None);
|
||||
///
|
||||
/// #
|
||||
/// # }) }
|
||||
|
|
Loading…
Reference in a new issue