diff --git a/wgpu-native/src/hub.rs b/wgpu-native/src/hub.rs index 2c145e18ee..941b8b37db 100644 --- a/wgpu-native/src/hub.rs +++ b/wgpu-native/src/hub.rs @@ -105,10 +105,10 @@ impl IdentityManager { } } -pub struct Storage { +pub struct Storage { //TODO: consider concurrent hashmap? map: VecMap<(T, Epoch)>, - _phantom: std::marker::PhantomData<&'static I>, + _phantom: std::marker::PhantomData, } impl ops::Index for Storage { @@ -137,7 +137,7 @@ impl Storage { } } -pub struct Registry> { +pub struct Registry> { #[cfg(feature = "local")] identity: Mutex, data: RwLock>,