:arrow_up salsa

This commit is contained in:
Aleksey Kladov 2019-01-25 15:16:50 +03:00
parent ae97cd59ff
commit 8cf092d5de
9 changed files with 79 additions and 158 deletions

View file

@ -6,7 +6,7 @@ use ra_db::{
use crate::db::RootDatabase;
pub(crate) fn status(db: &RootDatabase) -> String {
let n_parsed_files = db.query(SourceFileQuery).keys::<Vec<_>>().len();
let n_parsed_files = db.query(SourceFileQuery).entries::<Vec<_>>().len();
let n_defs = {
let interner: &hir::HirInterner = db.as_ref();
interner.len()