Skip to content

Commit

Permalink
Merge pull request #711 from RemyHaemmerle/master
Browse files Browse the repository at this point in the history
Correct description note of Iterator sameElements
  • Loading branch information
SethTisue committed Mar 3, 2017
2 parents 393e190 + df2d0e8 commit 65d47d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion overviews/collections/iterators.md
Expand Up @@ -151,7 +151,7 @@ All operations on iterators are summarized below.
| **Update:** | |
| `it patch (i, jt, r)` | The iterator resulting from `it` by replacing `r` elements starting with `i` by the patch iterator `jt`. |
| **Comparison:** | |
| `it sameElements jt` | A test whether iterators it and `jt` return the same elements in the same order. Note: At least one of `it` and `jt` will be at its end after this operation. |
| `it sameElements jt` | A test whether iterators it and `jt` return the same elements in the same order. Note: Using the iterators after this operation is undefined and subject to change. |
| **Strings:** | |
| `it addString (b, start, sep, end)`| Adds a string to `StringBuilder` `b` which shows all elements returned by `it` between separators `sep` enclosed in strings `start` and `end`. `start`, `sep`, `end` are all optional. |
| `it mkString (start, sep, end)` | Converts the collection to a string which shows all elements returned by `it` between separators `sep` enclosed in strings `start` and `end`. `start`, `sep`, `end` are all optional. |
Expand Down

0 comments on commit 65d47d4

Please sign in to comment.