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 @@ -378,7 +378,7 @@ trait TryParse {
378
378
379
379
type TryParseResult < T > = Result < httparse:: Status < ( Incoming < T > , usize ) > , HttpError > ;
380
380
381
- impl < ' a > TryParse for httparse:: Request < ' a > {
381
+ impl < ' a > TryParse for httparse:: Request < ' a , ' a > {
382
382
type Subject = ( Method , RequestUri ) ;
383
383
384
384
fn try_parse < ' b > ( headers : & ' b mut [ httparse:: Header < ' b > ] , buf : & ' b [ u8 ] ) -> TryParseResult < ( Method , RequestUri ) > {
@@ -399,7 +399,7 @@ impl<'a> TryParse for httparse::Request<'a> {
399
399
}
400
400
}
401
401
402
- impl < ' a > TryParse for httparse:: Response < ' a > {
402
+ impl < ' a > TryParse for httparse:: Response < ' a , ' a > {
403
403
type Subject = RawStatus ;
404
404
405
405
fn try_parse < ' b > ( headers : & ' b mut [ httparse:: Header < ' b > ] , buf : & ' b [ u8 ] ) -> TryParseResult < RawStatus > {
You can’t perform that action at this time.
0 commit comments