From 06bc99918c8add2e2a265cd5dbc99555a464c19d Mon Sep 17 00:00:00 2001 From: Liam Monahan Date: Thu, 2 Apr 2015 20:02:57 -0400 Subject: [PATCH] doc/trpl: Fixing a comma splice in iterators.md. --- src/doc/trpl/iterators.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/iterators.md b/src/doc/trpl/iterators.md index 55776bee3b585..eea575658b92c 100644 --- a/src/doc/trpl/iterators.md +++ b/src/doc/trpl/iterators.md @@ -291,7 +291,7 @@ If you are trying to execute a closure on an iterator for its side effects, just use `for` instead. There are tons of interesting iterator adapters. `take(n)` will return an -iterator over the next `n` elements of the original iterator, note that this +iterator over the next `n` elements of the original iterator. Note that this has no side effect on the original iterator. Let's try it out with our infinite iterator from before: