about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-08-24 18:46:01 +0000
committerbors <bors@rust-lang.org>2014-08-24 18:46:01 +0000
commit17f79af31c4d413352a967b6cfe9ba7d70f66ff7 (patch)
tree3b1283db70a8493654edcd721a94f34c6d3931ff /src/rustllvm/RustWrapper.cpp
parent8d3390e12f2ea087bde0b705e2fd167cd96b84a8 (diff)
parentd363770851650d9e137d628de2efeb90b3154bb0 (diff)
downloadrust-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