about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <nnethercote@mozilla.com>2020-05-13 15:48:08 +1000
committerNicholas Nethercote <nnethercote@mozilla.com>2020-05-13 15:48:08 +1000
commit3b108588d159b4f4600ec226679f5ce64341b82e (patch)
tree8b19eb166b9180a72a8d095c5dadeace640e7e0d /src/rustllvm/RustWrapper.cpp
parent5a0ac0552e05c079f252482cfcdaab3c4b39d614 (diff)
downloadrust-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