File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ where
160160 let code = httparse_res. code ;
161161 let code = code. ok_or_else ( || format_err ! ( "No status code found" ) ) ?;
162162
163- // Convert httparse headers + body into a `http ::Response` type.
163+ // Convert httparse headers + body into a `http_types ::Response` type.
164164 let version = httparse_res. version ;
165165 let version = version. ok_or_else ( || format_err ! ( "No version found" ) ) ?;
166166 ensure_eq ! ( version, 1 , "Unsupported HTTP version" ) ;
Original file line number Diff line number Diff line change @@ -365,7 +365,7 @@ where
365365
366366 ensure ! ( !status. is_partial( ) , "Malformed HTTP head" ) ;
367367
368- // Convert httparse headers + body into a `http ::Request` type.
368+ // Convert httparse headers + body into a `http_types ::Request` type.
369369 let method = httparse_req. method ;
370370 let method = method. ok_or_else ( || format_err ! ( "No method found" ) ) ?;
371371
You can’t perform that action at this time.
0 commit comments