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 :(
This commit is contained in:
bors 2015-11-03 06:34:53 +00:00
commit fffe075708

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