diff options
| author | bors <bors@rust-lang.org> | 2015-12-10 19:54:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-12-10 19:54:15 +0000 |
| commit | 47cd3a4ae7d82775b74f8199139a020323375c06 (patch) | |
| tree | 0a0217447fafa8f786001a2021906efeacf3c360 /src/liballoc | |
| parent | ce132752c68aebbaf78125df4266e96e00261d36 (diff) | |
| parent | da50f7c288b8e6856b42fd923f3479af1c94b3bf (diff) | |
| download | rust-47cd3a4ae7d82775b74f8199139a020323375c06.tar.gz rust-47cd3a4ae7d82775b74f8199139a020323375c06.zip | |
Auto merge of #30182 - alexcrichton:remove-deprecated, r=aturon
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.rs | 7 | ||||
| -rw-r--r-- | src/liballoc/rc.rs | 8 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 787b686c4d0..9479d47943e 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. |
