We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83afbab commit fb567a3Copy full SHA for fb567a3
src/option/from_stream.rs
@@ -24,6 +24,7 @@ where
24
.take_while(|elem| {
25
elem.is_some() || {
26
found_none = true;
27
+ // Stop processing the stream on `None`
28
false
29
}
30
})
src/option/product.rs
@@ -48,6 +48,7 @@ where
48
49
50
51
52
53
54
src/option/sum.rs
@@ -43,6 +43,7 @@ where
43
44
45
46
+ // Stop processing the stream on error
47
0 commit comments