diff options
author | Aleksey Kladov <[email protected]> | 2018-10-20 16:43:02 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-20 16:43:02 +0100 |
commit | 73dd870da2dcc991b0fdcdde8bee91f05cb9e182 (patch) | |
tree | 611f4bb8433c733a3e6c3c74779d79366a2ccc81 /crates/ra_analysis/src/db.rs | |
parent | 2ded93a78a108c1f7e0dd0a9036c88c786f21dce (diff) |
update salsa
Diffstat (limited to 'crates/ra_analysis/src/db.rs')
-rw-r--r-- | crates/ra_analysis/src/db.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_analysis/src/db.rs b/crates/ra_analysis/src/db.rs index 042dde1ac..cce959669 100644 --- a/crates/ra_analysis/src/db.rs +++ b/crates/ra_analysis/src/db.rs | |||
@@ -16,7 +16,7 @@ use std::{ | |||
16 | 16 | ||
17 | #[derive(Default)] | 17 | #[derive(Default)] |
18 | pub(crate) struct RootDatabase { | 18 | pub(crate) struct RootDatabase { |
19 | runtime: salsa::runtime::Runtime<RootDatabase>, | 19 | runtime: salsa::Runtime<RootDatabase>, |
20 | } | 20 | } |
21 | 21 | ||
22 | impl fmt::Debug for RootDatabase { | 22 | impl fmt::Debug for RootDatabase { |
@@ -26,7 +26,7 @@ impl fmt::Debug for RootDatabase { | |||
26 | } | 26 | } |
27 | 27 | ||
28 | impl salsa::Database for RootDatabase { | 28 | impl salsa::Database for RootDatabase { |
29 | fn salsa_runtime(&self) -> &salsa::runtime::Runtime<RootDatabase> { | 29 | fn salsa_runtime(&self) -> &salsa::Runtime<RootDatabase> { |
30 | &self.runtime | 30 | &self.runtime |
31 | } | 31 | } |
32 | } | 32 | } |
@@ -69,7 +69,7 @@ salsa::query_group! { | |||
69 | type FileTextQuery; | 69 | type FileTextQuery; |
70 | storage input; | 70 | storage input; |
71 | } | 71 | } |
72 | fn file_set(key: ()) -> Arc<FileSet> { | 72 | fn file_set() -> Arc<FileSet> { |
73 | type FileSetQuery; | 73 | type FileSetQuery; |
74 | storage input; | 74 | storage input; |
75 | } | 75 | } |