about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-12-02 17:07:29 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-12-10 11:47:55 -0800
commitda50f7c288b8e6856b42fd923f3479af1c94b3bf (patch)
tree8f1aa965704dc20ec8140fd7b7649e050ec9f0ee /src/liballoc
parent08a5b112ed7af90e31a355e409f637997e458fbc (diff)
downloadrust-da50f7c288b8e6856b42fd923f3479af1c94b3bf.tar.gz
rust-da50f7c288b8e6856b42fd923f3479af1c94b3bf.zip
std: Remove deprecated functionality from 1.5
This is a standard "clean out libstd" commit which removes all 1.5-and-before
deprecated functionality as it's now all been deprecated for at least one entire
cycle.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs7
-rw-r--r--src/liballoc/rc.rs8
2 files changed, 0 insertions, 15 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index f8483a8ed9b..94f8f615df3 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -385,13 +385,6 @@ impl<T: ?Sized> Deref for Arc<T> {
 }
 
 impl<T: Clone> Arc<T> {
-    #[unstable(feature = "arc_make_unique", reason = "renamed to Arc::make_mut",
-               issue = "27718")]
-    #[rustc_deprecated(since = "1.4.0", reason = "renamed to Arc::make_mut")]
-    pub fn make_unique(this: &mut Self) -> &mut T {
-        Arc::make_mut(this)
-    }
-
     /// Make a mutable reference into the given `Arc<T>` by cloning the inner
     /// data if the `Arc<T>` doesn't have one strong reference and no weak
     /// references.
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 404c7522403..8f00605d33b 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -360,14 +360,6 @@ impl<T: ?Sized> Rc<T> {
 }
 
 impl<T: Clone> Rc<T> {
-    #[inline]
-    #[unstable(feature = "rc_make_unique", reason = "renamed to Rc::make_mut",
-               issue = "27718")]
-    #[rustc_deprecated(since = "1.4.0", reason = "renamed to Rc::make_mut")]
-    pub fn make_unique(&mut self) -> &mut T {
-        Rc::make_mut(self)
-    }
-
     /// Make a mutable reference into the given `Rc<T>` by cloning the inner
     /// data if the `Rc<T>` doesn't have one strong reference and no weak
     /// references.