From 79427f0bc0fff258eae966aa1db5abc089a88aa0 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Fri, 12 Sep 2014 20:18:26 +0200 Subject: Remove the unused `Iterator` implementation of the private `PartialVec` --- src/libcollections/vec.rs | 6 ------ 1 file changed, 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 Drop for PartialVec { } } -impl Iterator for PartialVec { - fn next(&mut self) -> Option { - self.pop() - } -} - impl Vec { /// Converts a `Vec` to a `Vec` where `T` and `U` have the same /// non-zero size and the same minimal alignment. -- cgit 1.4.1-3-g733a5