diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index b89574a24e..88b4b8925b 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -878,9 +878,6 @@ impl Drop for CommandBuffer { pub struct CommandEncoder { context: Arc, id: Option<::CommandEncoderId>, - /// This type should be !Send !Sync, because it represents an allocation on this thread's - /// command buffer. - _p: PhantomData<*const u8>, } impl Drop for CommandEncoder { @@ -1726,7 +1723,6 @@ impl Device { &self.id, desc, )), - _p: Default::default(), } }