From f7794fd82bc2fd58b1c70552a98e9f4e39abca44 Mon Sep 17 00:00:00 2001 From: psincf <44228825+psincf@users.noreply.github.com> Date: Wed, 1 May 2019 12:05:02 +0200 Subject: [PATCH] change PhantomData syntax --- wgpu-native/src/hub.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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>,