Skip to content

Commit 89d98a7

Browse files
committed
Fix clippy error for ignored ?Sized bound
1 parent 02e3618 commit 89d98a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cust_core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub mod _hidden {
9393
unsafe impl<T: DeviceCopy> DeviceCopy for MaybeUninit<T> {}
9494
unsafe impl<T: DeviceCopy> DeviceCopy for Option<T> {}
9595
unsafe impl<L: DeviceCopy, R: DeviceCopy> DeviceCopy for Result<L, R> {}
96-
unsafe impl<T: ?Sized + DeviceCopy> DeviceCopy for PhantomData<T> {}
96+
unsafe impl<T: DeviceCopy> DeviceCopy for PhantomData<T> {}
9797
// Allow DeviceCopy for lifetime constraint markers
9898
unsafe impl DeviceCopy for PhantomData<&()> {}
9999
unsafe impl<T: DeviceCopy> DeviceCopy for Wrapping<T> {}

0 commit comments

Comments
 (0)