Remove node function in NavTarget

This commit is contained in:
Edwin Cheng 2019-06-08 22:26:27 +08:00
parent bb55111c20
commit d46278d320
5 changed files with 94 additions and 88 deletions

View file

@ -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<_>>()
})
}