mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 17:49:46 +00:00
remove unused memo function
This commit is contained in:
parent
e5fb61b367
commit
f0231fb884
1 changed files with 0 additions and 5 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue