We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c286994 commit 588d890Copy full SHA for 588d890
src/pod.rs
@@ -60,7 +60,7 @@ unsafe impl<T: 'static> Pod for *const T {}
60
#[cfg(feature = "unsound_ptr_pod_impl")]
61
unsafe impl<T: 'static> PodInOption for NonNull<T> {}
62
63
-unsafe impl<T: Pod> Pod for PhantomData<T> {}
+unsafe impl<T: ?Sized + 'static> Pod for PhantomData<T> {}
64
unsafe impl Pod for PhantomPinned {}
65
unsafe impl<T: Pod> Pod for ManuallyDrop<T> {}
66
0 commit comments