mirror of
https://github.com/tlsnotary/tlsn-utils.git
synced 2026-01-06 21:54:11 -05:00
chore: fix clippy lints (#75)
This commit is contained in:
@@ -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)? {
|
||||
|
||||
Reference in New Issue
Block a user