about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-03 06:34:53 +0000
committerbors <bors@rust-lang.org>2015-11-03 06:34:53 +0000
commitfffe0757086b8f381226cb5ddcb6c129a815b96d (patch)
treeae1f1fe8d2ea4f3df4cc1de37ed37cd747e011cb
parent3330f5419880d34cf8bf9c1f286d569a304b6279 (diff)
parent983349ee99af50575c2c0849c8af4ea60a0470cf (diff)
downloadrust-fffe0757086b8f381226cb5ddcb6c129a815b96d.tar.gz
rust-fffe0757086b8f381226cb5ddcb6c129a815b96d.zip
Auto merge of #29523 - durka:patch-9, r=alexcrichton
`Rc::try_unwrap` and `Rc::make_mut` are stable since 1.4.0, but the example code still has `#![feature(rc_unique)]`. Ideally the stable and beta docs would be updated, but I don't think that's possible :(
-rw-r--r--src/liballoc/rc.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 463f66b58e9..d229d1c815c 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -227,8 +227,6 @@ impl<T> Rc<T> {
     /// # Examples
     ///
     /// ```
-    /// #![feature(rc_unique)]
-    ///
     /// use std::rc::Rc;
     ///
     /// let x = Rc::new(3);
@@ -370,7 +368,6 @@ impl<T: Clone> Rc<T> {
     /// # Examples
     ///
     /// ```
-    /// #![feature(rc_unique)]
     /// use std::rc::Rc;
     ///
     /// let mut data = Rc::new(5);