From 2d17da42c60720f19e54a3ae8b8b51eb6588c635 Mon Sep 17 00:00:00 2001 From: Tobias Koppers Date: Mon, 13 Jan 2025 22:24:26 +0100 Subject: [PATCH] clippy --- turbopack/crates/turbo-tasks-backend/src/backend/storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turbopack/crates/turbo-tasks-backend/src/backend/storage.rs b/turbopack/crates/turbo-tasks-backend/src/backend/storage.rs index 5e7ddce7838890..ec3b206927f1dd 100644 --- a/turbopack/crates/turbo-tasks-backend/src/backend/storage.rs +++ b/turbopack/crates/turbo-tasks-backend/src/backend/storage.rs @@ -199,7 +199,7 @@ impl InnerStorage { f: impl FnOnce() -> CachedDataItemValue, ) -> CachedDataItemValueRefMut<'_> { self.get_or_create_map_mut(key.ty()) - .get_mut_or_insert_with(&key, f) + .get_mut_or_insert_with(key, f) } pub fn has_key(&self, key: &CachedDataItemKey) -> bool {