remove unused memo function

This commit is contained in:
Niko Matsakis 2022-03-14 18:35:33 -04:00
parent e5fb61b367
commit f0231fb884

View file

@ -30,11 +30,6 @@ impl<V> MemoMap<V> {
self.map.insert(key, ArcSwap::from(Arc::new(memo))); 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 /// Evicts the existing memo for the given key, replacing it
/// with an equivalent memo that has no value. If the memo /// with an equivalent memo that has no value. If the memo
/// has untracked inputs, this has no effect. /// has untracked inputs, this has no effect.