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.
This commit is contained in:
parent
08a5b112ed
commit
da50f7c288
48 changed files with 112 additions and 1437 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue