Skip to content

Commit b331588

Browse files
committed
Auto merge of #23987 - liammonahan:master, r=Manishearth
I ran across a comma splice. I didn't set the "note:" off inside parenthesis. I looked around in other places and saw it both ways, but without surrounding parenthesis seemed to be the more common convention followed elsewhere in the docs. Let me know if you have an overriding preference about that and I'll change it. r? @steveklabnik
2 parents 04e0125 + 06bc999 commit b331588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/iterators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ If you are trying to execute a closure on an iterator for its side effects,
291291
just use `for` instead.
292292

293293
There are tons of interesting iterator adapters. `take(n)` will return an
294-
iterator over the next `n` elements of the original iterator, note that this
294+
iterator over the next `n` elements of the original iterator. Note that this
295295
has no side effect on the original iterator. Let's try it out with our infinite
296296
iterator from before:
297297

0 commit comments

Comments
 (0)