diff options
author | Aleksey Kladov <[email protected]> | 2019-11-26 08:29:20 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-26 08:29:20 +0000 |
commit | 131c2da6bfd8ad6a25a55b4c85081da327ba2acb (patch) | |
tree | d05b34483333fd1abfe95679cd37a6a837c468ff /crates/ra_assists | |
parent | 58a3b3b502580e9f49dcfc9b7223e8aec258adf6 (diff) |
:arrow_up: salsa
Diffstat (limited to 'crates/ra_assists')
-rw-r--r-- | crates/ra_assists/src/test_db.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/ra_assists/src/test_db.rs b/crates/ra_assists/src/test_db.rs index 5f96c974b..523259fd4 100644 --- a/crates/ra_assists/src/test_db.rs +++ b/crates/ra_assists/src/test_db.rs | |||
@@ -21,6 +21,9 @@ impl salsa::Database for TestDB { | |||
21 | fn salsa_runtime(&self) -> &salsa::Runtime<Self> { | 21 | fn salsa_runtime(&self) -> &salsa::Runtime<Self> { |
22 | &self.runtime | 22 | &self.runtime |
23 | } | 23 | } |
24 | fn salsa_runtime_mut(&mut self) -> &mut salsa::Runtime<Self> { | ||
25 | &mut self.runtime | ||
26 | } | ||
24 | } | 27 | } |
25 | 28 | ||
26 | impl std::panic::RefUnwindSafe for TestDB {} | 29 | impl std::panic::RefUnwindSafe for TestDB {} |