Skip to content

Commit ea22b4f

Browse files
committed
Merge branch 'master' of github.com:Ben-Lichtman/async-h1
2 parents 0cad5b4 + b7b70c8 commit ea22b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/encode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ impl Read for Encoder {
7171

7272
impl Encoder {
7373
/// Create a new instance of Encoder.
74-
pub fn new(res: Response, method: Method) -> Self {
74+
pub fn new(res: Response) -> Self {
7575
Self {
7676
res,
7777
depth: 0,

0 commit comments

Comments
 (0)