From 570364be7b56ac999bf3358379288961020724e8 Mon Sep 17 00:00:00 2001 From: Icelk Date: Mon, 12 Feb 2024 00:27:40 +0100 Subject: [PATCH] Fix new lint --- src/shutdown.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shutdown.rs b/src/shutdown.rs index 5939a4f..e94b4ca 100644 --- a/src/shutdown.rs +++ b/src/shutdown.rs @@ -443,7 +443,7 @@ impl AcceptManager { /// /// Please increase the count of connections on [`Manager`] when this connection is accepted /// and decrease it when the connection dies. - #[allow(clippy::let_and_return)] // cfg + #[allow(clippy::let_and_return, clippy::no_effect_underscore_binding)] // cfg pub(crate) async fn accept(&mut self, _manager: &Manager) -> AcceptAction { #[cfg(feature = "async-networking")] {