chore(client): fix unused_mut in 1.18

This commit is contained in:
Sean McArthur
2018-02-15 14:54:56 -08:00
parent 6244526a5b
commit dd79a4a0e0

View File

@@ -226,7 +226,7 @@ impl Future for HttpConnecting {
};
},
State::Connecting(ref mut c) => {
let mut sock = try_ready!(c.poll(&self.handle));
let sock = try_ready!(c.poll(&self.handle));
if let Some(dur) = self.keep_alive_timeout {
sock.set_keepalive(Some(dur))?;