From 7fbc3895e359b9212bc0a78692198f15bbe462b5 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Fri, 6 Jul 2018 01:00:40 -0600 Subject: [PATCH] Stabilize rc_downcast Fixes #44608 --- src/liballoc/rc.rs | 3 +-- src/liballoc/sync.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 32d624e8fbc79..357bc8ba2dd21 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -620,13 +620,12 @@ impl Rc { impl Rc { #[inline] - #[unstable(feature = "rc_downcast", issue = "44608")] + #[stable(feature = "rc_downcast", since = "1.29.0")] /// Attempt to downcast the `Rc` to a concrete type. /// /// # Examples /// /// ``` - /// #![feature(rc_downcast)] /// use std::any::Any; /// use std::rc::Rc; /// diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 2abd9c85c5754..dcc3560a0709a 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -981,13 +981,12 @@ unsafe impl<#[may_dangle] T: ?Sized> Drop for Arc { impl Arc { #[inline] - #[unstable(feature = "rc_downcast", issue = "44608")] + #[stable(feature = "rc_downcast", since = "1.29.0")] /// Attempt to downcast the `Arc` to a concrete type. /// /// # Examples /// /// ``` - /// #![feature(rc_downcast)] /// use std::any::Any; /// use std::sync::Arc; ///