Skip to content

Commit 65d47d4

Browse files
authored
Merge pull request #711 from RemyHaemmerle/master
Correct description note of Iterator sameElements
2 parents 393e190 + df2d0e8 commit 65d47d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overviews/collections/iterators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ All operations on iterators are summarized below.
151151
| **Update:** | |
152152
| `it patch (i, jt, r)` | The iterator resulting from `it` by replacing `r` elements starting with `i` by the patch iterator `jt`. |
153153
| **Comparison:** | |
154-
| `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. |
154+
| `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. |
155155
| **Strings:** | |
156156
| `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. |
157157
| `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. |

0 commit comments

Comments
 (0)