]> git.lizzy.rs Git - rust.git/commit
Remove unzip() SizeHint hack
authorOliver Middleton <olliemail27@gmail.com>
Tue, 7 Jun 2016 21:32:48 +0000 (22:32 +0100)
committerOliver Middleton <olliemail27@gmail.com>
Tue, 7 Jun 2016 21:32:48 +0000 (22:32 +0100)
commit02f9be8524ac6e9706867e2ae0abd09bee95dc53
tree867ec7b2b2b9b512a9e8c64fd97074274f307605
parent763f9234b052c7911dc4cf952a81a85c51c57784
Remove unzip() SizeHint hack

This was using an invalid iterator so is likely to end with buggy
behaviour.

It also doesn't even benefit many type in std including Vec so removing it
shouldn't cause any problems.
src/libcore/iter/iterator.rs