From f0231fb8844e743d801f99def82f176b993b7353 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 14 Mar 2022 18:35:33 -0400 Subject: [PATCH] remove unused memo function --- src/derived/memo.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/derived/memo.rs b/src/derived/memo.rs index 40c23728..e4b3de80 100644 --- a/src/derived/memo.rs +++ b/src/derived/memo.rs @@ -30,11 +30,6 @@ impl MemoMap { self.map.insert(key, ArcSwap::from(Arc::new(memo))); } - /// Removes any existing memo for the given key. - pub(super) fn remove(&self, key: DerivedKeyIndex) { - self.map.remove(&key); - } - /// Evicts the existing memo for the given key, replacing it /// with an equivalent memo that has no value. If the memo /// has untracked inputs, this has no effect.