forgot None case

This commit is contained in:
Fedor Sakharov 2019-09-11 10:09:52 +03:00
parent 2d75ffacc4
commit cdd4215e8f
No known key found for this signature in database
GPG key ID: 93D436E666BF0FEE

View file

@ -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);
///
/// #
/// # }) }