summaryrefslogtreecommitdiffstats
path: root/tokio/src/macros
diff options
context:
space:
mode:
authorAlice Ryhl <alice@ryhl.io>2020-09-22 22:56:45 +0200
committerGitHub <noreply@github.com>2020-09-23 05:56:45 +0900
commite09b90ea32385337170ce17eb55ab372f9388af5 (patch)
tree9aeac2a40a50053e77346d5997a0d175f0b99a11 /tokio/src/macros
parentcb8f2ceb2eaab72800ecee60a89cbff73c6c79de (diff)
macros: add #[allow(unused_mut)] to select! (#2858)
Diffstat (limited to 'tokio/src/macros')
-rw-r--r--tokio/src/macros/select.rs1
1 files changed, 1 insertions, 0 deletions
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,