diff --git a/plugins/store/src/store.rs b/plugins/store/src/store.rs index 4e62a75f..e800c99f 100644 --- a/plugins/store/src/store.rs +++ b/plugins/store/src/store.rs @@ -442,12 +442,12 @@ impl Resource for Store { } impl Store { - /// Do something with the inner store, - /// useful for batching some work if you need higher performance - pub fn with_store(&self, f: impl FnOnce(&mut StoreInner) -> T) -> T { - let mut store = self.store.lock().unwrap(); - f(&mut store) - } + // /// Do something with the inner store, + // /// useful for batching some work if you need higher performance + // pub fn with_store(&self, f: impl FnOnce(&mut StoreInner) -> T) -> T { + // let mut store = self.store.lock().unwrap(); + // f(&mut store) + // } /// Inserts a key-value pair into the store. pub fn set(&self, key: impl Into, value: impl Into) {