mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Remove obsolete RangeInfo usage in rename
This commit is contained in:
parent
39282ec419
commit
21a6384ce6
4 changed files with 151 additions and 169 deletions
|
@ -520,7 +520,7 @@ impl Analysis {
|
|||
&self,
|
||||
position: FilePosition,
|
||||
new_name: &str,
|
||||
) -> Cancelable<Result<RangeInfo<SourceChange>, RenameError>> {
|
||||
) -> Cancelable<Result<SourceChange, RenameError>> {
|
||||
self.with_db(|db| references::rename::rename(db, position, new_name))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue