Re-export runtime

cc #17
This commit is contained in:
Aleksey Kladov 2018-10-07 14:08:22 +03:00
parent e5c97040f1
commit f14d846146
8 changed files with 18 additions and 16 deletions

View file

@ -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
}
}