Skip to content

Commit 6723842

Browse files
committed
Change to PhantomData<Inner<T>>
This is akin to rust-lang/rust#66117.
1 parent 73897c4 commit 6723842

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ impl<T: ?Sized> Inner<T> {
110110
/// converted to an `Arc`.
111111
pub struct Rc<T: ?Sized> {
112112
inner: NonNull<Inner<T>>,
113-
phantom: PhantomData<T>,
113+
phantom: PhantomData<Inner<T>>,
114114
}
115115

116116
impl<T: ?Sized> Rc<T> {

0 commit comments

Comments
 (0)