We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Arc::clone
1 parent 89bcc79 commit a324e46Copy full SHA for a324e46
crates/salsa/src/derived.rs
@@ -115,7 +115,7 @@ where
115
}
116
117
fn durability(&self, db: &<Q as QueryDb<'_>>::DynDb, key: &Q::Key) -> Durability {
118
- self.slot(key).durability(db)
+ self.slot_map.read().get(key).map_or(Durability::LOW, |slot| slot.durability(db))
119
120
121
fn entries<C>(&self, _db: &<Q as QueryDb<'_>>::DynDb) -> C
0 commit comments