aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-05-12 21:05:45 +0100
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-05-12 21:05:45 +0100
commitb22614f0b500c351d3abf33a4ed6beaea6861bca (patch)
tree8e6cd37bc459cdb9444d482f74aa2455d06499b1 /crates/ra_ide_api
parent0f57564f78207946fdb09e0cddc21a55966b1bc5 (diff)
parent9cba67b2ad0ef43b5c405f21f516c9ebee63a932 (diff)
Merge #1268
1268: simplify r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api')
-rw-r--r--crates/ra_ide_api/src/goto_definition.rs2
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 }