diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-12-02 17:07:29 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-12-10 11:47:55 -0800 |
| commit | da50f7c288b8e6856b42fd923f3479af1c94b3bf (patch) | |
| tree | 8f1aa965704dc20ec8140fd7b7649e050ec9f0ee /src/liballoc | |
| parent | 08a5b112ed7af90e31a355e409f637997e458fbc (diff) | |
| download | rust-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.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 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. |
