mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
fix compilation
This commit is contained in:
parent
5d483cb998
commit
ef08b6c084
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue