mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12: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
|
@ -159,13 +159,13 @@ impl AnalysisHost {
|
|||
#[derive(Debug)]
|
||||
pub struct SourceChange {
|
||||
pub label: String,
|
||||
pub source_file_edits: Vec<SourceFileNodeEdit>,
|
||||
pub source_file_edits: Vec<SourceFileEdit>,
|
||||
pub file_system_edits: Vec<FileSystemEdit>,
|
||||
pub cursor_position: Option<FilePosition>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct SourceFileNodeEdit {
|
||||
pub struct SourceFileEdit {
|
||||
pub file_id: FileId,
|
||||
pub edits: Vec<AtomTextEdit>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue