From 5b18a4eef9e69260ce2f105b33553c929cb7d827 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 23 Aug 2019 15:55:21 +0300 Subject: rename struct -> record, pos -> tuple --- crates/ra_ide_api/src/display/navigation_target.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_ide_api/src/display/navigation_target.rs') 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 .visit(|it: ast::TypeAliasDef| it.doc_comment_text()) .visit(|it: ast::ConstDef| it.doc_comment_text()) .visit(|it: ast::StaticDef| it.doc_comment_text()) - .visit(|it: ast::NamedFieldDef| it.doc_comment_text()) + .visit(|it: ast::RecordFieldDef| it.doc_comment_text()) .visit(|it: ast::EnumVariant| it.doc_comment_text()) .visit(|it: ast::MacroCall| it.doc_comment_text()) .accept(&node)? @@ -336,7 +336,7 @@ pub(crate) fn description_from_symbol(db: &RootDatabase, symbol: &FileSymbol) -> .visit(|node: ast::TypeAliasDef| node.short_label()) .visit(|node: ast::ConstDef| node.short_label()) .visit(|node: ast::StaticDef| node.short_label()) - .visit(|node: ast::NamedFieldDef| node.short_label()) + .visit(|node: ast::RecordFieldDef| node.short_label()) .visit(|node: ast::EnumVariant| node.short_label()) .accept(&node)? } -- cgit v1.2.3