mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +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
|
@ -154,8 +154,8 @@ pub(crate) fn database(args: TokenStream, input: TokenStream) -> TokenStream {
|
|||
self.#db_storage_field.salsa_runtime()
|
||||
}
|
||||
|
||||
fn ops_salsa_runtime_mut(&mut self) -> &mut salsa::Runtime {
|
||||
self.#db_storage_field.salsa_runtime_mut()
|
||||
fn synthetic_write(&mut self, durability: salsa::Durability) {
|
||||
self.#db_storage_field.salsa_runtime_mut().synthetic_write(durability)
|
||||
}
|
||||
|
||||
fn fmt_index(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue