diff --git a/wgpu-core/src/storage.rs b/wgpu-core/src/storage.rs index 10895082c2..f2875b3542 100644 --- a/wgpu-core/src/storage.rs +++ b/wgpu-core/src/storage.rs @@ -1,4 +1,3 @@ -use std::ops; use std::sync::Arc; use wgt::Backend; @@ -55,15 +54,6 @@ where kind: &'static str, } -impl ops::Index> for Storage -where - T: StorageItem, -{ - type Output = Arc; - fn index(&self, id: Id) -> &Arc { - self.get(id).unwrap() - } -} impl Storage where T: StorageItem,