diff options
| author | Kevin Ballard <kevin@sb.org> | 2013-08-03 15:41:29 -0700 |
|---|---|---|
| committer | Kevin Ballard <kevin@sb.org> | 2013-08-29 22:49:26 -0700 |
| commit | a3d18bc95b1639cf3cb967165f7104e2c79893f5 (patch) | |
| tree | baa14af3e79204f372cc692e79a0ed8c3e6ee5eb /src/rustllvm/RustWrapper.cpp | |
| parent | fb0b388804ec6b4535e73a890feda7372182486f (diff) | |
| download | rust-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
