Remove ops_salsa_runtime_mut, replace it with direct synthetic_write API

This commit is contained in:
Lukas Wirth 2024-02-22 10:42:30 +01:00
parent 543d7e98db
commit f89d17b426
7 changed files with 27 additions and 15 deletions

View file

@ -17,7 +17,7 @@ impl RootDatabase {
pub fn request_cancellation(&mut self) {
let _p =
tracing::span!(tracing::Level::INFO, "RootDatabase::request_cancellation").entered();
self.salsa_runtime_mut().synthetic_write(Durability::LOW);
self.synthetic_write(Durability::LOW);
}
pub fn apply_change(&mut self, change: Change) {