mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 19:08:32 +00:00
parent
e5c97040f1
commit
f14d846146
8 changed files with 18 additions and 16 deletions
|
@ -2,11 +2,11 @@
|
|||
|
||||
#[derive(Default)]
|
||||
pub struct DatabaseImpl {
|
||||
runtime: salsa::runtime::Runtime<DatabaseImpl>,
|
||||
runtime: salsa::Runtime<DatabaseImpl>,
|
||||
}
|
||||
|
||||
impl salsa::Database for DatabaseImpl {
|
||||
fn salsa_runtime(&self) -> &salsa::runtime::Runtime<DatabaseImpl> {
|
||||
fn salsa_runtime(&self) -> &salsa::Runtime<DatabaseImpl> {
|
||||
&self.runtime
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue