File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -121,12 +121,6 @@ impl From<IntMap<FileId, TextEdit>> for SourceChange {
121121 }
122122}
123123
124- impl From < IntMap < FileId , ( TextEdit , Option < SnippetEdit > ) > > for SourceChange {
125- fn from ( source_file_edits : IntMap < FileId , ( TextEdit , Option < SnippetEdit > ) > ) -> SourceChange {
126- SourceChange { source_file_edits, file_system_edits : Vec :: new ( ) , is_snippet : false }
127- }
128- }
129-
130124impl FromIterator < ( FileId , TextEdit ) > for SourceChange {
131125 fn from_iter < T : IntoIterator < Item = ( FileId , TextEdit ) > > ( iter : T ) -> Self {
132126 let mut this = SourceChange :: default ( ) ;
@@ -135,16 +129,6 @@ impl FromIterator<(FileId, TextEdit)> for SourceChange {
135129 }
136130}
137131
138- impl FromIterator < ( FileId , ( TextEdit , Option < SnippetEdit > ) ) > for SourceChange {
139- fn from_iter < T : IntoIterator < Item = ( FileId , ( TextEdit , Option < SnippetEdit > ) ) > > (
140- iter : T ,
141- ) -> Self {
142- let mut this = SourceChange :: default ( ) ;
143- this. extend ( iter) ;
144- this
145- }
146- }
147-
148132#[ derive( Debug , Clone , PartialEq , Eq ) ]
149133pub struct SnippetEdit ( Vec < ( u32 , TextRange ) > ) ;
150134
You can’t perform that action at this time.
0 commit comments