mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
fix SourceFileEdit name
This commit is contained in:
parent
f897de5b78
commit
aa628f4749
3 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@ use crate::{
|
|||
db,
|
||||
symbol_index::{SymbolIndex, SymbolsDatabase, LibrarySymbolsQuery},
|
||||
AnalysisChange, RootChange, Cancelable, CrateId, Diagnostic, FileId,
|
||||
FileSystemEdit, FilePosition, Query, SourceChange, SourceFileNodeEdit,
|
||||
FileSystemEdit, FilePosition, Query, SourceChange, SourceFileEdit,
|
||||
ReferenceResolution,
|
||||
};
|
||||
|
||||
|
@ -518,7 +518,7 @@ impl AnalysisImpl {
|
|||
|
||||
impl SourceChange {
|
||||
pub(crate) fn from_local_edit(file_id: FileId, label: &str, edit: LocalEdit) -> SourceChange {
|
||||
let file_edit = SourceFileNodeEdit {
|
||||
let file_edit = SourceFileEdit {
|
||||
file_id,
|
||||
edits: edit.edit.into_atoms(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue