From 0dd4c1e7bd0178ca91ea13dfad6efc4cce728302 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 22 May 2014 10:40:07 -0700 Subject: Remove a slew of old deprecated functions --- src/libstd/slice.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/libstd/slice.rs') diff --git a/src/libstd/slice.rs b/src/libstd/slice.rs index e78122f699d..4f7bb2aec08 100644 --- a/src/libstd/slice.rs +++ b/src/libstd/slice.rs @@ -116,7 +116,7 @@ use vec::Vec; pub use core::slice::{ref_slice, mut_ref_slice, Splits, Windows}; pub use core::slice::{Chunks, Vector, ImmutableVector, ImmutableEqVector}; pub use core::slice::{ImmutableTotalOrdVector, MutableVector, Items, MutItems}; -pub use core::slice::{RevItems, RevMutItems, MutSplits, MutChunks}; +pub use core::slice::{MutSplits, MutChunks}; pub use core::slice::{bytes, MutableCloneableVector}; // Functional utilities @@ -403,10 +403,6 @@ pub trait OwnedVector { /// } /// ``` fn move_iter(self) -> MoveItems; - /// Creates a consuming iterator that moves out of the vector in - /// reverse order. - #[deprecated = "replaced by .move_iter().rev()"] - fn move_rev_iter(self) -> Rev>; /** * Partitions the vector into two vectors `(A,B)`, where all @@ -425,12 +421,6 @@ impl OwnedVector for ~[T] { } } - #[inline] - #[deprecated = "replaced by .move_iter().rev()"] - fn move_rev_iter(self) -> Rev> { - self.move_iter().rev() - } - #[inline] fn partition(self, f: |&T| -> bool) -> (Vec, Vec) { let mut lefts = Vec::new(); @@ -776,10 +766,6 @@ impl Drop for MoveItems { } } -/// An iterator that moves out of a vector in reverse order. -#[deprecated = "replaced by Rev>"] -pub type RevMoveItems = Rev>; - #[cfg(test)] mod tests { use prelude::*; -- cgit 1.4.1-3-g733a5