Auto merge of #12339 - matklad:dead, r=matklad

dead code
This commit is contained in:
bors 2022-05-21 12:40:29 +00:00
commit 01d412f4d7

View File

@ -217,13 +217,6 @@ pub fn crate_symbols(db: &RootDatabase, krate: Crate, query: Query) -> Vec<FileS
query.search(&indices)
}
pub fn index_resolve(db: &RootDatabase, name: &str) -> Vec<FileSymbol> {
let mut query = Query::new(name.to_string());
query.exact();
query.limit(4);
world_symbols(db, query)
}
#[derive(Default)]
pub struct SymbolIndex {
symbols: Vec<FileSymbol>,