diff options
author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-05-12 21:03:37 +0100 |
---|---|---|
committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-05-12 21:03:37 +0100 |
commit | 9cba67b2ad0ef43b5c405f21f516c9ebee63a932 (patch) | |
tree | 8e6cd37bc459cdb9444d482f74aa2455d06499b1 /crates/ra_ide_api | |
parent | 98531dc785535ccde9edc798a17275b9a2f5c1fb (diff) |
simplify
Diffstat (limited to 'crates/ra_ide_api')
-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 533c229fe..adae29e9c 100644 --- a/crates/ra_ide_api/src/goto_definition.rs +++ b/crates/ra_ide_api/src/goto_definition.rs | |||
@@ -69,7 +69,7 @@ pub(crate) fn reference_definition( | |||
69 | .and_then(ast::MacroCall::cast) | 69 | .and_then(ast::MacroCall::cast) |
70 | { | 70 | { |
71 | tested_by!(goto_definition_works_for_macros); | 71 | tested_by!(goto_definition_works_for_macros); |
72 | if let Some(macro_call) = analyzer.resolve_macro_call(db, file_id, macro_call) { | 72 | if let Some(macro_call) = analyzer.resolve_macro_call(macro_call) { |
73 | return Exact(NavigationTarget::from_macro_def(db, macro_call)); | 73 | return Exact(NavigationTarget::from_macro_def(db, macro_call)); |
74 | } | 74 | } |
75 | } | 75 | } |