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() {