Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change
Iterator::nth
to use self.next()
in a while
loop.
Currently it uses `for x in self`, which seems dubious within an iterator method. Furthermore, `self.next()` is used in all the other iterator methods.
- Loading branch information