Skip to content

Commit

Permalink
chore(client): fix unused_mut in 1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Feb 15, 2018
1 parent 6244526 commit dd79a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/connect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))?;
Expand Down

0 comments on commit dd79a4a

Please sign in to comment.