mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Rename source_edit to source_file_edit to match file_system_edit
This commit is contained in:
parent
b92fcbc956
commit
4d26bae46d
5 changed files with 11 additions and 11 deletions
|
@ -33,7 +33,7 @@ pub(crate) fn on_enter(db: &RootDatabase, position: FilePosition) -> Option<Sour
|
|||
edit.insert(position.offset, inserted);
|
||||
|
||||
Some(
|
||||
SourceChange::source_edit(
|
||||
SourceChange::source_file_edit(
|
||||
"on enter",
|
||||
SourceFileEdit { edit: edit.finish(), file_id: position.file_id },
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue