diff options
| author | Brian Anderson <banderson@mozilla.com> | 2016-09-28 20:55:26 +0000 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2016-09-28 23:17:56 +0000 |
| commit | 3b49c60ab71547e6dbaef086eb4cd2bb7fe9ff94 (patch) | |
| tree | 4b8a28dc91249b515d9b243d1edb9656550b1967 /src/liballoc/rc.rs | |
| parent | 6ffb39bd08068c5b81706e122a09857e94ad6d84 (diff) | |
| download | rust-3b49c60ab71547e6dbaef086eb4cd2bb7fe9ff94.tar.gz rust-3b49c60ab71547e6dbaef086eb4cd2bb7fe9ff94.zip | |
Remove stage0 hacks
Diffstat (limited to 'src/liballoc/rc.rs')
| -rw-r--r-- | src/liballoc/rc.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index e0f635f195b..4a4de419f2e 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -252,7 +252,6 @@ struct RcBox<T: ?Sized> { /// that you have to call them as e.g. `Rc::get_mut(&value)` instead of /// `value.get_mut()`. This avoids conflicts with methods of the inner /// type `T`. -#[cfg_attr(stage0, unsafe_no_drop_flag)] #[stable(feature = "rust1", since = "1.0.0")] pub struct Rc<T: ?Sized> { ptr: Shared<RcBox<T>>, @@ -873,7 +872,6 @@ impl<T> From<T> for Rc<T> { /// /// [rc]: struct.Rc.html /// [downgrade]: struct.Rc.html#method.downgrade -#[cfg_attr(stage0, unsafe_no_drop_flag)] #[stable(feature = "rc_weak", since = "1.4.0")] pub struct Weak<T: ?Sized> { ptr: Shared<RcBox<T>>, |
