Skip to content

Commit

Permalink
fix(driver): PhantomData in Key
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed May 17, 2024
1 parent 08e454c commit 4780fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compio-driver/src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const unsafe fn opcode_dyn_mut(ptr: *mut (), metadata: usize) -> *mut RawOp<dyn
#[derive(PartialEq, Eq, Hash)]
pub struct Key<T: ?Sized> {
user_data: *mut (),
_p: PhantomData<Box<T>>,
_p: PhantomData<Box<RawOp<T>>>,
}

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

0 comments on commit 4780fd1

Please sign in to comment.