Skip to content

Commit 7df001d

Browse files
committed
Tweak plumbing consumer description
1 parent 322dfe8 commit 7df001d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iter/plumbing/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)