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