update salsa

This commit is contained in:
Aleksey Kladov 2018-10-20 18:43:02 +03:00
parent 2ded93a78a
commit 73dd870da2
5 changed files with 14 additions and 14 deletions

View file

@ -16,7 +16,7 @@ use std::{
#[derive(Default)]
pub(crate) struct RootDatabase {
runtime: salsa::runtime::Runtime<RootDatabase>,
runtime: salsa::Runtime<RootDatabase>,
}
impl fmt::Debug for RootDatabase {
@ -26,7 +26,7 @@ impl fmt::Debug for RootDatabase {
}
impl salsa::Database for RootDatabase {
fn salsa_runtime(&self) -> &salsa::runtime::Runtime<RootDatabase> {
fn salsa_runtime(&self) -> &salsa::Runtime<RootDatabase> {
&self.runtime
}
}
@ -69,7 +69,7 @@ salsa::query_group! {
type FileTextQuery;
storage input;
}
fn file_set(key: ()) -> Arc<FileSet> {
fn file_set() -> Arc<FileSet> {
type FileSetQuery;
storage input;
}