mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Remove ops_salsa_runtime_mut, replace it with direct synthetic_write API
This commit is contained in:
parent
543d7e98db
commit
f89d17b426
7 changed files with 27 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue