File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ modes (which is why there are two):
35
35
more like a ` for_each ` call: each time a new item is produced, the
36
36
` consume ` method is called with that item. (The traits themselves are
37
37
a bit more complex, as they support state that can be threaded
38
- through and ultimately reduced.) Unlike producers, there are two
39
- variants of consumers. The difference is how the split is performed:
38
+ through and ultimately reduced.) Like producers, there are two
39
+ variants of consumers which differ in how the split is performed:
40
40
- in the ` Consumer ` trait, splitting is done with ` split_at ` , which
41
41
accepts an index where the split should be performed. All
42
42
iterators can work in this mode. The resulting halves thus have an
You can’t perform that action at this time.
0 commit comments