aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/display/navigation_target.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-08-23 15:01:06 +0100
committerGitHub <[email protected]>2019-08-23 15:01:06 +0100
commita832a2f7dd22c93bc69a7be5d24799bb042b8129 (patch)
tree15f55b3eab48c3d0bbb1975fbd4db7cbb56d3e3e /crates/ra_ide_api/src/display/navigation_target.rs
parentc12dce0073c1766f7d2b10a69f8526a8093e70dc (diff)
parent5b18a4eef9e69260ce2f105b33553c929cb7d827 (diff)
Merge #1731
1731: rename pos_field -> tuple_field r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide_api/src/display/navigation_target.rs')
-rw-r--r--crates/ra_ide_api/src/display/navigation_target.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_ide_api/src/display/navigation_target.rs b/crates/ra_ide_api/src/display/navigation_target.rs
index 84fabdb9e..c85214bb3 100644
--- a/crates/ra_ide_api/src/display/navigation_target.rs
+++ b/crates/ra_ide_api/src/display/navigation_target.rs
@@ -314,7 +314,7 @@ pub(crate) fn docs_from_symbol(db: &RootDatabase, symbol: &FileSymbol) -> Option
314 .visit(|it: ast::TypeAliasDef| it.doc_comment_text()) 314 .visit(|it: ast::TypeAliasDef| it.doc_comment_text())
315 .visit(|it: ast::ConstDef| it.doc_comment_text()) 315 .visit(|it: ast::ConstDef| it.doc_comment_text())
316 .visit(|it: ast::StaticDef| it.doc_comment_text()) 316 .visit(|it: ast::StaticDef| it.doc_comment_text())
317 .visit(|it: ast::NamedFieldDef| it.doc_comment_text()) 317 .visit(|it: ast::RecordFieldDef| it.doc_comment_text())
318 .visit(|it: ast::EnumVariant| it.doc_comment_text()) 318 .visit(|it: ast::EnumVariant| it.doc_comment_text())
319 .visit(|it: ast::MacroCall| it.doc_comment_text()) 319 .visit(|it: ast::MacroCall| it.doc_comment_text())
320 .accept(&node)? 320 .accept(&node)?
@@ -336,7 +336,7 @@ pub(crate) fn description_from_symbol(db: &RootDatabase, symbol: &FileSymbol) ->
336 .visit(|node: ast::TypeAliasDef| node.short_label()) 336 .visit(|node: ast::TypeAliasDef| node.short_label())
337 .visit(|node: ast::ConstDef| node.short_label()) 337 .visit(|node: ast::ConstDef| node.short_label())
338 .visit(|node: ast::StaticDef| node.short_label()) 338 .visit(|node: ast::StaticDef| node.short_label())
339 .visit(|node: ast::NamedFieldDef| node.short_label()) 339 .visit(|node: ast::RecordFieldDef| node.short_label())
340 .visit(|node: ast::EnumVariant| node.short_label()) 340 .visit(|node: ast::EnumVariant| node.short_label())
341 .accept(&node)? 341 .accept(&node)?
342} 342}