diff options
| author | Oleg Nosov <olegnosov1@gmail.com> | 2019-11-05 23:34:54 +0300 |
|---|---|---|
| committer | Oleg Nosov <olegnosov1@gmail.com> | 2019-11-05 23:36:54 +0300 |
| commit | 45f281d46166fb90c7e9403ad814bebb67aa926d (patch) | |
| tree | 235326eff9ee315c9b7cba7dcc5fb51db140b75a /src/liballoc/sync.rs | |
| parent | 3a54ab78efc66c17a6d2bb57463f5dac4696c7ed (diff) | |
| download | rust-45f281d46166fb90c7e9403ad814bebb67aa926d.tar.gz rust-45f281d46166fb90c7e9403ad814bebb67aa926d.zip | |
Reverted PhantomData in LinkedList, fixed PhantomData markers in Rc and Arc
Diffstat (limited to 'src/liballoc/sync.rs')
| -rw-r--r-- | src/liballoc/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 80d6c6e0d43..4b10f089c29 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -195,7 +195,7 @@ const MAX_REFCOUNT: usize = (isize::MAX) as usize; #[stable(feature = "rust1", since = "1.0.0")] pub struct Arc<T: ?Sized> { ptr: NonNull<ArcInner<T>>, - phantom: PhantomData<T>, + phantom: PhantomData<ArcInner<T>>, } #[stable(feature = "rust1", since = "1.0.0")] |
