Skip to content

Commit fffe075

Browse files
committed
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 :(
2 parents 3330f54 + 983349e commit fffe075

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/liballoc/rc.rs

-3
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ impl<T> Rc<T> {
227227
/// # Examples
228228
///
229229
/// ```
230-
/// #![feature(rc_unique)]
231-
///
232230
/// use std::rc::Rc;
233231
///
234232
/// let x = Rc::new(3);
@@ -370,7 +368,6 @@ impl<T: Clone> Rc<T> {
370368
/// # Examples
371369
///
372370
/// ```
373-
/// #![feature(rc_unique)]
374371
/// use std::rc::Rc;
375372
///
376373
/// let mut data = Rc::new(5);

0 commit comments

Comments
 (0)