diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-09 20:45:35 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-06-09 20:45:35 +0100 |
commit | cbafae6fa8e1292302d1ea0c04871fe24d174954 (patch) | |
tree | 047b949be1ee4908d2e429bfffc545a4f859215f /crates/ra_ide_api/src/lib.rs | |
parent | 9c92c05ca614fcded456153b1bc6717d17f0dafb (diff) | |
parent | 60938ff73ed80461982f52cb2b044572e7323a0c (diff) |
Merge #1388
1388: Remove NavigationTarget::node and fill docs and description in during construction r=matklad a=edwin0cheng
Related dissused:
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/MBE.20discussion/near/167105559
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/lib.rs')
-rw-r--r-- | crates/ra_ide_api/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
393 | self.with_db(|db| { | 393 | self.with_db(|db| { |
394 | symbol_index::world_symbols(db, query) | 394 | symbol_index::world_symbols(db, query) |
395 | .into_iter() | 395 | .into_iter() |
396 | .map(NavigationTarget::from_symbol) | 396 | .map(|s| NavigationTarget::from_symbol(db, s)) |
397 | .collect::<Vec<_>>() | 397 | .collect::<Vec<_>>() |
398 | }) | 398 | }) |
399 | } | 399 | } |