summary refs log tree commit diff
path: root/src/liballoc/rc.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2018-07-06 21:29:17 -0600
committerGitHub <noreply@github.com>2018-07-06 21:29:17 -0600
commite3823388a8eed0cb64b37d8d80c09cc79f70e30c (patch)
tree7548402391de2ca8267949dd8845373f8831a413 /src/liballoc/rc.rs
parent96729336395864b677230295c33926e8b229241a (diff)
parent7fbc3895e359b9212bc0a78692198f15bbe462b5 (diff)
downloadrust-e3823388a8eed0cb64b37d8d80c09cc79f70e30c.tar.gz
rust-e3823388a8eed0cb64b37d8d80c09cc79f70e30c.zip
Rollup merge of #52103 - tmccombs:rc_downcast, r=Mark-Simulacrum
Stabilize rc_downcast

Fixes #44608
Diffstat (limited to 'src/liballoc/rc.rs')
-rw-r--r--src/liballoc/rc.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 5b71d0b85a0..f7c12b98f48 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -620,13 +620,12 @@ impl<T: Clone> Rc<T> {
 
 impl Rc<Any> {
     #[inline]
-    #[unstable(feature = "rc_downcast", issue = "44608")]
+    #[stable(feature = "rc_downcast", since = "1.29.0")]
     /// Attempt to downcast the `Rc<Any>` to a concrete type.
     ///
     /// # Examples
     ///
     /// ```
-    /// #![feature(rc_downcast)]
     /// use std::any::Any;
     /// use std::rc::Rc;
     ///