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/arc.rs | |
| parent | 6ffb39bd08068c5b81706e122a09857e94ad6d84 (diff) | |
| download | rust-3b49c60ab71547e6dbaef086eb4cd2bb7fe9ff94.tar.gz rust-3b49c60ab71547e6dbaef086eb4cd2bb7fe9ff94.zip | |
Remove stage0 hacks
Diffstat (limited to 'src/liballoc/arc.rs')
| -rw-r--r-- | src/liballoc/arc.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 5f9ccd1820c..e3c92fc1aa8 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -127,7 +127,6 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize; /// } /// ``` -#[cfg_attr(stage0, unsafe_no_drop_flag)] #[stable(feature = "rust1", since = "1.0.0")] pub struct Arc<T: ?Sized> { ptr: Shared<ArcInner<T>>, @@ -153,7 +152,6 @@ impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Arc<U>> for Arc<T> {} /// nodes behind strong `Arc<T>` pointers, and then storing the parent pointers /// as `Weak<T>` pointers. -#[cfg_attr(stage0, unsafe_no_drop_flag)] #[stable(feature = "arc_weak", since = "1.4.0")] pub struct Weak<T: ?Sized> { ptr: Shared<ArcInner<T>>, |
