move this little guy where he goes

This commit is contained in:
Lokathor 2022-07-02 15:30:08 -06:00
parent fda9e9f852
commit 6beb5382ec
2 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,6 @@ unsafe impl<T: Zeroable> Zeroable for Wrapping<T> {}
unsafe impl<T> Zeroable for *mut T {}
unsafe impl<T> Zeroable for *const T {}
unsafe impl<T> ZeroableInOption for NonNull<T> {}
unsafe impl<T: Zeroable> Zeroable for PhantomData<T> {}
unsafe impl Zeroable for PhantomPinned {}
unsafe impl<T: Zeroable> Zeroable for ManuallyDrop<T> {}

View File

@ -24,3 +24,5 @@ unsafe impl ZeroableInOption for NonZeroU32 {}
unsafe impl ZeroableInOption for NonZeroU64 {}
unsafe impl ZeroableInOption for NonZeroU128 {}
unsafe impl ZeroableInOption for NonZeroUsize {}
unsafe impl<T> ZeroableInOption for NonNull<T> {}