⬆️ salsa

This commit is contained in:
Aleksey Kladov 2019-11-26 11:29:20 +03:00
parent 58a3b3b502
commit 131c2da6bf
9 changed files with 53 additions and 25 deletions

View file

@ -171,7 +171,7 @@ impl RootDatabase {
log::info!("apply_change {:?}", change);
{
let _p = profile("RootDatabase::apply_change/cancellation");
self.salsa_runtime().synthetic_write(Durability::LOW);
self.salsa_runtime_mut().synthetic_write(Durability::LOW);
}
if !change.new_roots.is_empty() {
let mut local_roots = Vec::clone(&self.local_roots());