From 97343dfd11b8bc5f438cdaa8643f5db5f3d71805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Fri, 6 Oct 2023 12:48:50 +0200 Subject: [PATCH] chore: remove clippy allow for false positive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Kröning --- src/fd/socket/tcp.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/fd/socket/tcp.rs b/src/fd/socket/tcp.rs index 01cb4f9069..b6fabb1491 100644 --- a/src/fd/socket/tcp.rs +++ b/src/fd/socket/tcp.rs @@ -66,9 +66,6 @@ impl Socket { result } - // TODO: Remove allow once fixed: - // https://github.com/rust-lang/rust-clippy/issues/11380 - #[allow(clippy::needless_pass_by_ref_mut)] async fn async_read(&self, buffer: &mut [u8]) -> Result { future::poll_fn(|cx| { self.with(|socket| match socket.state() {