From 566c621ffadac44328051f1fe40e1a9420a643a8 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 4 Dec 2025 12:12:11 +0200 Subject: [PATCH] chore: fix clippy lints (#75) --- uid-mux/src/yamux.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/uid-mux/src/yamux.rs b/uid-mux/src/yamux.rs index 2e1c597..ef993b9 100644 --- a/uid-mux/src/yamux.rs +++ b/uid-mux/src/yamux.rs @@ -263,6 +263,7 @@ where #[cfg_attr(feature = "tracing", tracing::instrument(skip_all, err))] fn handle_shutdown(&mut self, cx: &mut Context<'_>) -> Result<()> { + #[allow(clippy::collapsible_if)] // Attempt to close the connection if the shutdown notify has been set. if !self.closed && self.shutdown_notify.load(Ordering::Relaxed) { if let Poll::Ready(()) = self.conn.poll_close(cx)? {