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/structure.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_ide_api/src/display/structure.rs') diff --git a/crates/ra_ide_api/src/display/structure.rs b/crates/ra_ide_api/src/display/structure.rs index b026dfa59..a2025ed59 100644 --- a/crates/ra_ide_api/src/display/structure.rs +++ b/crates/ra_ide_api/src/display/structure.rs @@ -124,7 +124,7 @@ fn structure_node(node: &SyntaxNode) -> Option { let ty = td.type_ref(); decl_with_type_ref(td, ty) }) - .visit(decl_with_ascription::) + .visit(decl_with_ascription::) .visit(decl_with_ascription::) .visit(decl_with_ascription::) .visit(|im: ast::ImplBlock| { @@ -222,7 +222,7 @@ fn very_obsolete() {} label: "x", navigation_range: [18; 19), node_range: [18; 24), - kind: NAMED_FIELD_DEF, + kind: RECORD_FIELD_DEF, detail: Some( "i32", ), -- cgit v1.2.3