From 588d89082d81301702d62a8ebeb13764cffb4dc2 Mon Sep 17 00:00:00 2001 From: zachs18 <8355914+zachs18@users.noreply.github.com> Date: Thu, 15 Jun 2023 17:43:27 -0500 Subject: [PATCH] Relax Pod for PhantomData (#195) As with Zeroable for PhantomData. --- src/pod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pod.rs b/src/pod.rs index 6cb2458..a98def8 100644 --- a/src/pod.rs +++ b/src/pod.rs @@ -60,7 +60,7 @@ unsafe impl Pod for *const T {} #[cfg(feature = "unsound_ptr_pod_impl")] unsafe impl PodInOption for NonNull {} -unsafe impl Pod for PhantomData {} +unsafe impl Pod for PhantomData {} unsafe impl Pod for PhantomPinned {} unsafe impl Pod for ManuallyDrop {}