mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Remove node function in NavTarget
This commit is contained in:
parent
bb55111c20
commit
d46278d320
5 changed files with 94 additions and 88 deletions
|
@ -393,7 +393,7 @@ impl Analysis {
|
|||
self.with_db(|db| {
|
||||
symbol_index::world_symbols(db, query)
|
||||
.into_iter()
|
||||
.map(NavigationTarget::from_symbol)
|
||||
.map(|s| NavigationTarget::from_symbol(db, s))
|
||||
.collect::<Vec<_>>()
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue