mozilla/rust — pull request #9583 by blake2-ppc (2013-09-28 02:28:46+00:00)
Title: std::vec: Sane implementations for connect_vec and concat_vec

std::vec: Sane implementations for connect_vec and concat_vec

Avoid unnecessary copying of subvectors, and calculate the needed space
beforehand. These implementations are simple but better than the
previous.

Also only implement it once, for all `Vector` using:

impl<'self, T: Clone, V: Vector> VectorVector for &'self [V]

Closes #9581