Skip to content

Commit 8f07641

Browse files
committed
Fix inline comments
1 parent 4a0bb78 commit 8f07641

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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");

src/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)