Remove the unused Iterator
implementation of the private PartialVec
This commit is contained in:
parent
b7e0969a49
commit
79427f0bc0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user