mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
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:
parent
cf2319bbb6
commit
983349ee99
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user