diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2014-09-12 20:18:26 +0200 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2014-09-14 21:35:49 +0200 |
| commit | 79427f0bc0fff258eae966aa1db5abc089a88aa0 (patch) | |
| tree | 204725c066bece522ebd7f1f9988c9948d01a2bf | |
| parent | b7e0969a4953f5fe63497aa2c4caed226c94175c (diff) | |
| download | rust-79427f0bc0fff258eae966aa1db5abc089a88aa0.tar.gz rust-79427f0bc0fff258eae966aa1db5abc089a88aa0.zip | |
Remove the unused `Iterator` implementation of the private `PartialVec`
| -rw-r--r-- | src/libcollections/vec.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index e81c3b5a188..be286cbda1e 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -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. |
