We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b1c80 commit 76550fdCopy full SHA for 76550fd
src/http.rs
@@ -378,7 +378,7 @@ trait TryParse {
378
379
type TryParseResult<T> = Result<httparse::Status<(Incoming<T>, usize)>, HttpError>;
380
381
-impl<'a> TryParse for httparse::Request<'a> {
+impl<'a> TryParse for httparse::Request<'a, 'a> {
382
type Subject = (Method, RequestUri);
383
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
}
400
401
402
-impl<'a> TryParse for httparse::Response<'a> {
+impl<'a> TryParse for httparse::Response<'a, 'a> {
403
type Subject = RawStatus;
404
405
fn try_parse<'b>(headers: &'b mut [httparse::Header<'b>], buf: &'b [u8]) -> TryParseResult<RawStatus> {
0 commit comments