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):
3535 more like a ` for_each ` call: each time a new item is produced, the
3636 ` consume ` method is called with that item. (The traits themselves are
3737 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:
4040 - in the ` Consumer ` trait, splitting is done with ` split_at ` , which
4141 accepts an index where the split should be performed. All
4242 iterators can work in this mode. The resulting halves thus have an
You can’t perform that action at this time.
0 commit comments