]> git.lizzy.rs Git - rust.git/commit
std: Fix bug in ChunkIter::idx
authorblake2-ppc <blake2-ppc>
Sun, 4 Aug 2013 20:46:26 +0000 (22:46 +0200)
committerblake2-ppc <blake2-ppc>
Tue, 6 Aug 2013 02:05:08 +0000 (04:05 +0200)
commit45085b9f8dc70f3b24eb9317b2d6bb2911ffb0a6
tree26965865beb862265202003a75dd349b9897cfb1
parentea9c5c405ecea256721c6d65b7de21bffe21056b
std: Fix bug in ChunkIter::idx

ChunkIter .idx() didn't handle overflow correctly, even though it tried.
src/libstd/vec.rs