aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/display
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-04-23 15:33:01 +0100
committerAleksey Kladov <[email protected]>2020-04-23 15:33:01 +0100
commit4176c03d1254a462da1c84a3a1185c8f2161e8a8 (patch)
tree2e10739d01c0eccf3c2b4eabc43470c0a815dc7e /crates/ra_ide/src/display
parent0502be3bf4539d24d34d24f3a4b9521d99a32aee (diff)
Remove SyntaxPtr::range from more places
Diffstat (limited to 'crates/ra_ide/src/display')
-rw-r--r--crates/ra_ide/src/display/navigation_target.rs2
1 files changed, 1 insertions, 1 deletions
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 {
176 file_id: self.file_id, 176 file_id: self.file_id,
177 name: self.name.clone(), 177 name: self.name.clone(),
178 kind: self.kind, 178 kind: self.kind,
179 full_range: self.ptr.range(), 179 full_range: self.range,
180 focus_range: self.name_range, 180 focus_range: self.name_range,
181 container_name: self.container_name.clone(), 181 container_name: self.container_name.clone(),
182 description: description_from_symbol(db, self), 182 description: description_from_symbol(db, self),