Skip to content

Commit

Permalink
Change to PhantomData<Inner<T>>
Browse files Browse the repository at this point in the history
This is akin to rust-lang/rust#66117.
  • Loading branch information
cuviper committed Jul 11, 2023
1 parent 73897c4 commit 6723842
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl<T: ?Sized> Inner<T> {
/// converted to an `Arc`.
pub struct Rc<T: ?Sized> {
inner: NonNull<Inner<T>>,
phantom: PhantomData<T>,
phantom: PhantomData<Inner<T>>,
}

impl<T: ?Sized> Rc<T> {
Expand Down

0 comments on commit 6723842

Please sign in to comment.