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...
This commit is contained in:
Alex Burka 2015-11-02 15:36:22 -05:00
parent cf2319bbb6
commit 983349ee99

View File

@ -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);