From d46278d320fbc580db81a60be26d8efa6b024433 Mon Sep 17 00:00:00 2001 From: Edwin Cheng Date: Sat, 8 Jun 2019 22:26:27 +0800 Subject: Remove node function in NavTarget --- crates/ra_ide_api/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide_api/src/lib.rs') diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs index 2fe46cd13..dbebf50a6 100644 --- a/crates/ra_ide_api/src/lib.rs +++ b/crates/ra_ide_api/src/lib.rs @@ -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::>() }) } -- cgit v1.2.3