mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
:arrow_up salsa
This commit is contained in:
parent
ae97cd59ff
commit
8cf092d5de
9 changed files with 79 additions and 158 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue