about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-09-29 08:10:44 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-09-29 08:10:44 -0700
commit655b7269c865b8ff446296bdb7640c6ad5c4f965 (patch)
tree55edbb8ddab8c9467b667fd44b4cacb255390997 /src/liballoc
parent1ebf456fb02c54fe821f0739da0aba6c25b28c25 (diff)
parent2257e231a7e0c455b61c60414a65e89f01cbf509 (diff)
downloadrust-655b7269c865b8ff446296bdb7640c6ad5c4f965.tar.gz
rust-655b7269c865b8ff446296bdb7640c6ad5c4f965.zip
rollup merge of #17519 : pcwalton/unboxed-closure-move-syntax
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/boxed.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 13d4a0a1f0a..168d0daeb38 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -96,12 +96,6 @@ pub trait BoxAny {
     /// `Err(Self)` if it isn't.
     #[unstable = "naming conventions around accessing innards may change"]
     fn downcast<T: 'static>(self) -> Result<Box<T>, Self>;
-
-    /// Deprecated; this method has been renamed to `downcast`.
-    #[deprecated = "use downcast instead"]
-    fn move<T: 'static>(self) -> Result<Box<T>, Self> {
-        self.downcast::<T>()
-    }
 }
 
 #[stable]