chore(lib): fix unused_mut warnings from newest nightly

This commit is contained in:
Sean McArthur
2019-04-23 12:45:19 -07:00
parent 8d70baca61
commit f5885f3d5d
2 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ where
State::Ready(ref mut tx, ref conn_dropper) => {
try_ready!(tx.poll_ready().map_err(::Error::new_h2));
match self.rx.poll() {
Ok(Async::Ready(Some((req, mut cb)))) => {
Ok(Async::Ready(Some((req, cb)))) => {
// check that future hasn't been canceled already
if cb.is_canceled() {
trace!("request canceled");