]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #8120 : blake2-ppc/rust/iterator-fixes, r=thestinger
authorbors <bors@rust-lang.org>
Tue, 30 Jul 2013 02:04:22 +0000 (19:04 -0700)
committerbors <bors@rust-lang.org>
Tue, 30 Jul 2013 02:04:22 +0000 (19:04 -0700)
Implement RandomAccessIterator (RAI) where possible, for Iterator adaptors such as Map, Enumerate, Peek, Skip, Take, Cycle, where the adapted iterator is already RAI, and for collections where it is relevant (ringbuf and bitv).

After discussion with thestinger, remove the RAI impl for VecMutIterator, we cannot soundly provide mutable access with this trait.

Implement Extendable everywhere FromIterator is already implemented.

Fixes issue #8108.


Trivial merge