From da50f7c288b8e6856b42fd923f3479af1c94b3bf Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 2 Dec 2015 17:07:29 -0800 Subject: 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. --- src/liballoc/arc.rs | 7 ------- src/liballoc/rc.rs | 8 -------- 2 files changed, 15 deletions(-) (limited to 'src/liballoc') 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 Deref for Arc { } impl Arc { - #[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` by cloning the inner /// data if the `Arc` 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 Rc { } impl Rc { - #[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` by cloning the inner /// data if the `Rc` doesn't have one strong reference and no weak /// references. -- cgit 1.4.1-3-g733a5