Skip to content

Commit

Permalink
remove #![feature(rc_unique)] from Rc docs
Browse files Browse the repository at this point in the history
`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...
  • Loading branch information
durka committed Nov 2, 2015
1 parent cf2319b commit 983349e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/liballoc/rc.rs
Expand Up @@ -227,8 +227,6 @@ impl<T> Rc<T> {
/// # Examples
///
/// ```
/// #![feature(rc_unique)]
///
/// use std::rc::Rc;
///
/// let x = Rc::new(3);
Expand Down Expand Up @@ -370,7 +368,6 @@ impl<T: Clone> Rc<T> {
/// # Examples
///
/// ```
/// #![feature(rc_unique)]
/// use std::rc::Rc;
///
/// let mut data = Rc::new(5);
Expand Down

0 comments on commit 983349e

Please sign in to comment.