1
Fork 0

Rename #[deprecated] to #[rustc_deprecated]

This commit is contained in:
Vadim Petrochenkov 2015-11-20 16:11:20 +03:00
parent 2228bacd62
commit a613059e3f
47 changed files with 126 additions and 113 deletions

View file

@ -385,7 +385,7 @@ 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")]
#[deprecated(since = "1.4.0", reason = "renamed to Arc::make_mut")]
#[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)
}