From 254c9ac5570175f3de0a741de60109dcba727550 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 12 Jun 2023 07:03:07 -0700 Subject: [PATCH] recover: remove unused `mut` This emits an `unused_mut` warning on the latest nigthly, fixing the fuzzing and codecov CI builds. This commit removes it. --- linkerd/proxy/resolve/src/recover.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkerd/proxy/resolve/src/recover.rs b/linkerd/proxy/resolve/src/recover.rs index a8d6b0c797..fb0f980e68 100644 --- a/linkerd/proxy/resolve/src/recover.rs +++ b/linkerd/proxy/resolve/src/recover.rs @@ -147,7 +147,7 @@ where type Item = Result, Error>; fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - let mut this = self.project(); + let this = self.project(); loop { // XXX(eliza): note that this match was originally an `if let`, // but that doesn't work with `#[project]` for some kinda reason