mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
rename range -> text_range
This commit is contained in:
parent
6d5d82e412
commit
f3bdbec1b6
54 changed files with 219 additions and 192 deletions
|
@ -361,7 +361,7 @@ impl SourceAnalyzer {
|
|||
})
|
||||
.map(|name_ref| ReferenceDescriptor {
|
||||
name: name_ref.text().to_string(),
|
||||
range: name_ref.syntax().range(),
|
||||
range: name_ref.syntax().text_range(),
|
||||
})
|
||||
.collect()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue