Skip to content

Commit 4780fd1

Browse files
committed
fix(driver): PhantomData in Key
1 parent 08e454c commit 4780fd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compio-driver/src/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const unsafe fn opcode_dyn_mut(ptr: *mut (), metadata: usize) -> *mut RawOp<dyn
7070
#[derive(PartialEq, Eq, Hash)]
7171
pub struct Key<T: ?Sized> {
7272
user_data: *mut (),
73-
_p: PhantomData<Box<T>>,
73+
_p: PhantomData<Box<RawOp<T>>>,
7474
}
7575

7676
impl<T: ?Sized> Unpin for Key<T> {}

0 commit comments

Comments
 (0)