aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r--crates/ra_analysis/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/lib.rs b/crates/ra_analysis/src/lib.rs
index a1d462528..d5725ef2e 100644
--- a/crates/ra_analysis/src/lib.rs
+++ b/crates/ra_analysis/src/lib.rs
@@ -159,13 +159,13 @@ impl AnalysisHost {
159#[derive(Debug)] 159#[derive(Debug)]
160pub struct SourceChange { 160pub struct SourceChange {
161 pub label: String, 161 pub label: String,
162 pub source_file_edits: Vec<SourceFileNodeEdit>, 162 pub source_file_edits: Vec<SourceFileEdit>,
163 pub file_system_edits: Vec<FileSystemEdit>, 163 pub file_system_edits: Vec<FileSystemEdit>,
164 pub cursor_position: Option<FilePosition>, 164 pub cursor_position: Option<FilePosition>,
165} 165}
166 166
167#[derive(Debug)] 167#[derive(Debug)]
168pub struct SourceFileNodeEdit { 168pub struct SourceFileEdit {
169 pub file_id: FileId, 169 pub file_id: FileId,
170 pub edits: Vec<AtomTextEdit>, 170 pub edits: Vec<AtomTextEdit>,
171} 171}