diff options
Diffstat (limited to 'crates/ra_ide_api/src/goto_definition.rs')
-rw-r--r-- | crates/ra_ide_api/src/goto_definition.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/goto_definition.rs b/crates/ra_ide_api/src/goto_definition.rs index f759f7339..591f36cce 100644 --- a/crates/ra_ide_api/src/goto_definition.rs +++ b/crates/ra_ide_api/src/goto_definition.rs | |||
@@ -95,7 +95,7 @@ pub(crate) fn reference_definition( | |||
95 | } | 95 | } |
96 | // If that fails try the index based approach. | 96 | // If that fails try the index based approach. |
97 | let navs = db | 97 | let navs = db |
98 | .index_resolve(name_ref)? | 98 | .index_resolve(name_ref) |
99 | .into_iter() | 99 | .into_iter() |
100 | .map(NavigationTarget::from_symbol) | 100 | .map(NavigationTarget::from_symbol) |
101 | .collect(); | 101 | .collect(); |