diff options
| author | Alex Burka <durka42+github@gmail.com> | 2015-11-02 15:36:22 -0500 |
|---|---|---|
| committer | Alex Burka <durka42+github@gmail.com> | 2015-11-02 15:36:22 -0500 |
| commit | 983349ee99af50575c2c0849c8af4ea60a0470cf (patch) | |
| tree | 643c664619d94a1961d172bb340f7453c4d0c332 /src/liballoc | |
| parent | cf2319bbb683b87add123d7f7bed2a681e4f7881 (diff) | |
| download | rust-983349ee99af50575c2c0849c8af4ea60a0470cf.tar.gz rust-983349ee99af50575c2c0849c8af4ea60a0470cf.zip | |
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...
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/rc.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 463f66b58e9..d229d1c815c 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -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); |
