about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-08-03 15:41:29 -0700
committerKevin Ballard <kevin@sb.org>2013-08-29 22:49:26 -0700
commita3d18bc95b1639cf3cb967165f7104e2c79893f5 (patch)
treebaa14af3e79204f372cc692e79a0ed8c3e6ee5eb /src/rustllvm/RustWrapper.cpp
parentfb0b388804ec6b4535e73a890feda7372182486f (diff)
downloadrust-a3d18bc95b1639cf3cb967165f7104e2c79893f5.tar.gz
rust-a3d18bc95b1639cf3cb967165f7104e2c79893f5.zip
Make Zip iterator short-circuit
Python's zip() short-circuits by not even querying its right-hand
iterator if the left-hand one is done. Match that behavior here by not
calling .next() on the right iterator if the left one returns None.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions