From 983349ee99af50575c2c0849c8af4ea60a0470cf Mon Sep 17 00:00:00 2001 From: Alex Burka Date: Mon, 2 Nov 2015 15:36:22 -0500 Subject: [PATCH] remove #![feature(rc_unique)] from Rc docs `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... --- src/liballoc/rc.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 463f66b58e92e..d229d1c815c2d 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -227,8 +227,6 @@ impl Rc { /// # Examples /// /// ``` - /// #![feature(rc_unique)] - /// /// use std::rc::Rc; /// /// let x = Rc::new(3); @@ -370,7 +368,6 @@ impl Rc { /// # Examples /// /// ``` - /// #![feature(rc_unique)] /// use std::rc::Rc; /// /// let mut data = Rc::new(5);