File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ impl<'a> Parser<'a> {
482
482
// is whole lot slower than parsing "foobar", as the former suffers from
483
483
// having to be read from source to a buffer and then from a buffer to
484
484
// our target string. Nothing to be done about this, really.
485
- fn read_complex_string < ' b > ( & mut self , start : usize ) -> Result < & ' b str > {
485
+ fn read_complex_string ( & mut self , start : usize ) -> Result < & ' _ str > {
486
486
// Since string slices are returned by this function that are created via pointers into `self.buffer`
487
487
// we shouldn't be clearing or modifying the buffer in consecutive calls to this function. Instead
488
488
// we continuously append bytes to `self.buffer` and keep track of the starting offset of the buffer on each
@@ -894,4 +894,4 @@ mod tests {
894
894
assert_eq ! ( actual, expected) ;
895
895
}
896
896
897
- }
897
+ }
You can’t perform that action at this time.
0 commit comments