File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/compression-codecs/src/gzip Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ impl Parser {
6767 pub ( super ) fn input ( & mut self , input : & mut PartialBuffer < & [ u8 ] > ) -> io:: Result < Option < Header > > {
6868 let crc = & mut self . crc ;
6969
70- let mut consume_input = |n, input| {
70+ let mut consume_input = |n, input : & mut PartialBuffer < & [ u8 ] > | {
7171 crc. update ( & input. unwritten ( ) [ ..n] ) ;
7272 input. advance ( n) ;
7373 } ;
@@ -136,7 +136,7 @@ impl Parser {
136136 if consume_cstr ( & mut input) . is_none ( ) {
137137 break Ok ( None ) ;
138138 }
139-
139+
140140 self . state = State :: Comment ;
141141 }
142142
@@ -149,7 +149,7 @@ impl Parser {
149149 if consume_cstr ( & mut input) . is_none ( ) {
150150 break Ok ( None ) ;
151151 }
152-
152+
153153 self . state = State :: Crc ( <_ >:: default ( ) ) ;
154154 }
155155
You can’t perform that action at this time.
0 commit comments