about summary refs log tree commit diff
path: root/src/libstd/slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-05-22 10:40:07 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-05-22 11:54:14 -0700
commit0dd4c1e7bd0178ca91ea13dfad6efc4cce728302 (patch)
tree4f6d876f7b2804f5c47f71c0d436c8b0134fe924 /src/libstd/slice.rs
parent257a73ce8273d026f2af1a5021ae2d1a4e7b95e5 (diff)
downloadrust-0dd4c1e7bd0178ca91ea13dfad6efc4cce728302.tar.gz
rust-0dd4c1e7bd0178ca91ea13dfad6efc4cce728302.zip
Remove a slew of old deprecated functions
Diffstat (limited to 'src/libstd/slice.rs')
-rw-r--r--src/libstd/slice.rs16
1 files changed, 1 insertions, 15 deletions
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<T> {
     /// }
     /// ```
     fn move_iter(self) -> MoveItems<T>;
-    /// 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<MoveItems<T>>;
 
     /**
      * Partitions the vector into two vectors `(A,B)`, where all
@@ -426,12 +422,6 @@ impl<T> OwnedVector<T> for ~[T] {
     }
 
     #[inline]
-    #[deprecated = "replaced by .move_iter().rev()"]
-    fn move_rev_iter(self) -> Rev<MoveItems<T>> {
-        self.move_iter().rev()
-    }
-
-    #[inline]
     fn partition(self, f: |&T| -> bool) -> (Vec<T>, Vec<T>) {
         let mut lefts  = Vec::new();
         let mut rights = Vec::new();
@@ -776,10 +766,6 @@ impl<T> Drop for MoveItems<T> {
     }
 }
 
-/// An iterator that moves out of a vector in reverse order.
-#[deprecated = "replaced by Rev<MoveItems<'a, T>>"]
-pub type RevMoveItems<T> = Rev<MoveItems<T>>;
-
 #[cfg(test)]
 mod tests {
     use prelude::*;