Recovered comments

This commit is contained in:
Oleg Nosov 2020-01-12 17:53:16 +03:00
parent 83afbab2ef
commit fb567a3a09
No known key found for this signature in database
GPG key ID: DE90B83800644E24
3 changed files with 3 additions and 0 deletions

View file

@ -24,6 +24,7 @@ where
.take_while(|elem| { .take_while(|elem| {
elem.is_some() || { elem.is_some() || {
found_none = true; found_none = true;
// Stop processing the stream on `None`
false false
} }
}) })

View file

@ -48,6 +48,7 @@ where
.take_while(|elem| { .take_while(|elem| {
elem.is_some() || { elem.is_some() || {
found_none = true; found_none = true;
// Stop processing the stream on `None`
false false
} }
}) })

View file

@ -43,6 +43,7 @@ where
.take_while(|elem| { .take_while(|elem| {
elem.is_some() || { elem.is_some() || {
found_none = true; found_none = true;
// Stop processing the stream on error
false false
} }
}) })