Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Frando committed May 22, 2024
1 parent bd2a0c6 commit 0fcb423
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iroh-net/src/conn_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ impl From<quinn::ReadToEndError> for InitError {
fn from(value: quinn::ReadToEndError) -> Self {
match value {
quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost(err)) => err.into(),
err @ _ => Self::Other(err.into()),
err => Self::Other(err.into()),
}
}
}
Expand All @@ -357,7 +357,7 @@ impl From<quinn::WriteError> for InitError {
fn from(value: quinn::WriteError) -> Self {
match value {
quinn::WriteError::ConnectionLost(err) => err.into(),
err @ _ => Self::Other(err.into()),
err => Self::Other(err.into()),
}
}
}
Expand Down

0 comments on commit 0fcb423

Please sign in to comment.