diff options
| author | root <root@localhost> | 2014-08-24 15:04:28 +0200 |
|---|---|---|
| committer | root <root@localhost> | 2014-08-24 15:11:23 +0200 |
| commit | d363770851650d9e137d628de2efeb90b3154bb0 (patch) | |
| tree | 5c3b7863d8a28124475bfa0a486cd6567431e7a1 /src/rustllvm/RustWrapper.cpp | |
| parent | 262d5a4686c80675fe5bfcb79b26b341b9a0bf7a (diff) | |
| download | rust-d363770851650d9e137d628de2efeb90b3154bb0.tar.gz rust-d363770851650d9e137d628de2efeb90b3154bb0.zip | |
libcore: Simplify Enumerate, Zip::next_back
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
