File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ impl Change {
126
126
) ;
127
127
// TODO also use errors returned by extract sql statement ranges
128
128
doc. statement_ranges = pg_statement_splitter:: split ( & self . text )
129
- . ranges
130
129
. iter ( )
131
130
. map ( |r| r. clone ( ) )
132
131
. collect ( ) ;
@@ -248,7 +247,7 @@ impl Change {
248
247
+ 1 ,
249
248
) ;
250
249
251
- for range in pg_statement_splitter:: split ( extracted_text) . ranges {
250
+ for range in pg_statement_splitter:: split ( extracted_text) {
252
251
match doc
253
252
. statement_ranges
254
253
. binary_search_by ( |r| r. start ( ) . cmp ( & range. start ( ) ) )
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ impl Document {
50
50
|| Vec :: new ( ) ,
51
51
|f| {
52
52
pg_statement_splitter:: split ( & f)
53
- . ranges
54
53
. iter ( )
55
54
. map ( |range| range. clone ( ) )
56
55
. collect ( )
You can’t perform that action at this time.
0 commit comments