Remove the unused Iterator implementation of the private PartialVec

This commit is contained in:
Tobias Bucher 2014-09-12 20:18:26 +02:00
parent b7e0969a49
commit 79427f0bc0

View File

@ -1937,12 +1937,6 @@ impl<T,U> Drop for PartialVec<T,U> {
}
}
impl<T,U> Iterator<T> for PartialVec<T,U> {
fn next(&mut self) -> Option<T> {
self.pop()
}
}
impl<T> Vec<T> {
/// Converts a `Vec<T>` to a `Vec<U>` where `T` and `U` have the same
/// non-zero size and the same minimal alignment.