Skip to content

Commit

Permalink
refactor(http1): fix for unused must_use on read_buf.split_to
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Dec 12, 2019
1 parent d1f6136 commit e123290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proto/h1/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ where
_ => break,
}
}
self.read_buf.split_to(i);
self.read_buf.advance(i);
}
}

Expand Down

0 comments on commit e123290

Please sign in to comment.