From cae2498513601c507bb10b15710feb800a24517f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 16 Apr 2020 19:21:18 +0200 Subject: Don't expose SyntaxNodePtr impl details --- crates/ra_ide/src/display/navigation_target.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_ide') diff --git a/crates/ra_ide/src/display/navigation_target.rs b/crates/ra_ide/src/display/navigation_target.rs index e61846995..6289f53f3 100644 --- a/crates/ra_ide/src/display/navigation_target.rs +++ b/crates/ra_ide/src/display/navigation_target.rs @@ -175,7 +175,7 @@ impl ToNav for FileSymbol { NavigationTarget { file_id: self.file_id, name: self.name.clone(), - kind: self.ptr.kind(), + kind: self.kind, full_range: self.ptr.range(), focus_range: self.name_range, container_name: self.container_name.clone(), -- cgit v1.2.3