Skip to content

Commit 0fcb423

Browse files
committed
chore: clippy
1 parent bd2a0c6 commit 0fcb423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

iroh-net/src/conn_manager.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ impl From<quinn::ReadToEndError> for InitError {
348348
fn from(value: quinn::ReadToEndError) -> Self {
349349
match value {
350350
quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost(err)) => err.into(),
351-
err @ _ => Self::Other(err.into()),
351+
err => Self::Other(err.into()),
352352
}
353353
}
354354
}
@@ -357,7 +357,7 @@ impl From<quinn::WriteError> for InitError {
357357
fn from(value: quinn::WriteError) -> Self {
358358
match value {
359359
quinn::WriteError::ConnectionLost(err) => err.into(),
360-
err @ _ => Self::Other(err.into()),
360+
err => Self::Other(err.into()),
361361
}
362362
}
363363
}

0 commit comments

Comments
 (0)