File tree 1 file changed +0
-16
lines changed
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 {
121
121
}
122
122
}
123
123
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
-
130
124
impl FromIterator < ( FileId , TextEdit ) > for SourceChange {
131
125
fn from_iter < T : IntoIterator < Item = ( FileId , TextEdit ) > > ( iter : T ) -> Self {
132
126
let mut this = SourceChange :: default ( ) ;
@@ -135,16 +129,6 @@ impl FromIterator<(FileId, TextEdit)> for SourceChange {
135
129
}
136
130
}
137
131
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
-
148
132
#[ derive( Debug , Clone , PartialEq , Eq ) ]
149
133
pub struct SnippetEdit ( Vec < ( u32 , TextRange ) > ) ;
150
134
You can’t perform that action at this time.
0 commit comments