Skip to content

Commit

Permalink
Remove the unused Iterator implementation of the private PartialVec
Browse files Browse the repository at this point in the history
  • Loading branch information
tbu- committed Sep 14, 2014
1 parent b7e0969 commit 79427f0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libcollections/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 79427f0

Please sign in to comment.