impl runtime_mut for test in debug.rs

This commit is contained in:
XFFXFF 2022-08-24 19:04:35 +08:00
parent 2912e60938
commit ea0df0fc03

View file

@ -34,6 +34,10 @@ impl salsa::Database for Database {
fn salsa_runtime(&self) -> &salsa::Runtime { fn salsa_runtime(&self) -> &salsa::Runtime {
self.storage.runtime() self.storage.runtime()
} }
fn salsa_runtime_mut(&mut self) -> &mut salsa::Runtime {
self.storage.runtime_mut()
}
} }
impl Db for Database {} impl Db for Database {}