chore(lib): fix new unused_mut warnings in nightly

This commit is contained in:
Sean McArthur
2017-08-11 15:07:49 -07:00
parent f2db365613
commit 2ea125e609
6 changed files with 9 additions and 9 deletions

View File

@@ -240,7 +240,7 @@ where I: AsyncRead + AsyncWrite,
let wants_keep_alive = head.should_keep_alive();
self.state.keep_alive &= wants_keep_alive;
let mut buf = self.io.write_buf_mut();
let buf = self.io.write_buf_mut();
// if a 100-continue has started but not finished sending, tack the
// remainder on to the start of the buffer.
if let Writing::Continue(ref pending) = self.state.writing {