diff options
Diffstat (limited to 'crates/ra_analysis/src/lib.rs')
-rw-r--r-- | crates/ra_analysis/src/lib.rs | 4 |
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)] |
160 | pub struct SourceChange { | 160 | pub 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)] |
168 | pub struct SourceFileNodeEdit { | 168 | pub struct SourceFileEdit { |
169 | pub file_id: FileId, | 169 | pub file_id: FileId, |
170 | pub edits: Vec<AtomTextEdit>, | 170 | pub edits: Vec<AtomTextEdit>, |
171 | } | 171 | } |