diff options
| author | bors <bors@rust-lang.org> | 2014-08-24 18:46:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-24 18:46:01 +0000 |
| commit | 17f79af31c4d413352a967b6cfe9ba7d70f66ff7 (patch) | |
| tree | 3b1283db70a8493654edcd721a94f34c6d3931ff /src/rustllvm/RustWrapper.cpp | |
| parent | 8d3390e12f2ea087bde0b705e2fd167cd96b84a8 (diff) | |
| parent | d363770851650d9e137d628de2efeb90b3154bb0 (diff) | |
| download | rust-17f79af31c4d413352a967b6cfe9ba7d70f66ff7.tar.gz rust-17f79af31c4d413352a967b6cfe9ba7d70f66ff7.zip | |
auto merge of #16728 : bluss/rust/zip-next-back, r=alexcrichton
Use ExactSize::len() and defer to its decisions about overly defensive assertions. Remove the length double-check and simply put a failure case if the Zip finds an uneven end in .next_back(). Fixing this up since I think I wrote this, and it's been known to confuse rusties (PR #15886).
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
