diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-23 15:40:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-23 15:40:07 +0100 |
commit | 4a18509a98149fb3d5c73dbf0c6de4cfa8d4596c (patch) | |
tree | 2e10739d01c0eccf3c2b4eabc43470c0a815dc7e /crates/ra_ide | |
parent | 0502be3bf4539d24d34d24f3a4b9521d99a32aee (diff) | |
parent | 4176c03d1254a462da1c84a3a1185c8f2161e8a8 (diff) |
Merge #4099
4099: Remove SyntaxPtr::range from more places r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/display/navigation_target.rs | 2 |
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), |