diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-05-13 15:48:08 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2020-05-13 15:48:08 +1000 |
| commit | 3b108588d159b4f4600ec226679f5ce64341b82e (patch) | |
| tree | 8b19eb166b9180a72a8d095c5dadeace640e7e0d /src/rustllvm/RustWrapper.cpp | |
| parent | 5a0ac0552e05c079f252482cfcdaab3c4b39d614 (diff) | |
| download | rust-3b108588d159b4f4600ec226679f5ce64341b82e.tar.gz rust-3b108588d159b4f4600ec226679f5ce64341b82e.zip | |
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
