From 4176c03d1254a462da1c84a3a1185c8f2161e8a8 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 23 Apr 2020 16:33:01 +0200 Subject: Remove SyntaxPtr::range from more places --- 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 6289f53f3..67bc9c31b 100644 --- a/crates/ra_ide/src/display/navigation_target.rs +++ b/crates/ra_ide/src/display/navigation_target.rs @@ -176,7 +176,7 @@ impl ToNav for FileSymbol { file_id: self.file_id, name: self.name.clone(), kind: self.kind, - full_range: self.ptr.range(), + full_range: self.range, focus_range: self.name_range, container_name: self.container_name.clone(), description: description_from_symbol(db, self), -- cgit v1.2.3