From e09b90ea32385337170ce17eb55ab372f9388af5 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Tue, 22 Sep 2020 22:56:45 +0200 Subject: macros: add #[allow(unused_mut)] to select! (#2858) --- tokio/src/macros/select.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tokio/src/macros') diff --git a/tokio/src/macros/select.rs b/tokio/src/macros/select.rs index 6497a510..ffca0027 100644 --- a/tokio/src/macros/select.rs +++ b/tokio/src/macros/select.rs @@ -404,6 +404,7 @@ macro_rules! select { // The future returned a value, check if matches // the specified pattern. #[allow(unused_variables)] + #[allow(unused_mut)] match &out { $bind => {} _ => continue, -- cgit v1.2.3