mozilla/rust — pull request #8120 by blake2-ppc (2013-07-30 00:42:28+00:00)
Title: Iterator trait implementations

Implement RandomAccessIterator (RAI) where possible, for Iterator adaptors such as Map, Enumerate and others 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.