Skip to content

Commit 79427f0

Browse files
committed
Remove the unused Iterator implementation of the private PartialVec
1 parent b7e0969 commit 79427f0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libcollections/vec.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,12 +1937,6 @@ impl<T,U> Drop for PartialVec<T,U> {
19371937
}
19381938
}
19391939

1940-
impl<T,U> Iterator<T> for PartialVec<T,U> {
1941-
fn next(&mut self) -> Option<T> {
1942-
self.pop()
1943-
}
1944-
}
1945-
19461940
impl<T> Vec<T> {
19471941
/// Converts a `Vec<T>` to a `Vec<U>` where `T` and `U` have the same
19481942
/// non-zero size and the same minimal alignment.

0 commit comments

Comments
 (0)