fix compilation

This commit is contained in:
Aleksey Kladov 2019-01-02 19:41:57 +03:00
parent 5d483cb998
commit ef08b6c084
2 changed files with 2 additions and 2 deletions

View file

@ -357,7 +357,7 @@ impl Analysis {
}
/// Fuzzy searches for a symbol.
pub fn symbol_search(&self, query: Query) -> Cancelable<Vec<NavigationTarget>> {
let res = symbol_index::world_symbols(self.db, query)?
let res = symbol_index::world_symbols(&*self.db, query)?
.into_iter()
.map(|(file_id, symbol)| NavigationTarget { file_id, symbol })
.collect();