diff --git a/crates/ide-db/src/source_change.rs b/crates/ide-db/src/source_change.rs index 3ff56ae9027..bfccd6b6e19 100644 --- a/crates/ide-db/src/source_change.rs +++ b/crates/ide-db/src/source_change.rs @@ -121,12 +121,6 @@ fn from(source_file_edits: IntMap) -> SourceChange { } } -impl From)>> for SourceChange { - fn from(source_file_edits: IntMap)>) -> SourceChange { - SourceChange { source_file_edits, file_system_edits: Vec::new(), is_snippet: false } - } -} - impl FromIterator<(FileId, TextEdit)> for SourceChange { fn from_iter>(iter: T) -> Self { let mut this = SourceChange::default(); @@ -135,16 +129,6 @@ fn from_iter>(iter: T) -> Self { } } -impl FromIterator<(FileId, (TextEdit, Option))> for SourceChange { - fn from_iter))>>( - iter: T, - ) -> Self { - let mut this = SourceChange::default(); - this.extend(iter); - this - } -} - #[derive(Debug, Clone, PartialEq, Eq)] pub struct SnippetEdit(Vec<(u32, TextRange)>);