We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2a0c6 commit 0fcb423Copy full SHA for 0fcb423
iroh-net/src/conn_manager.rs
@@ -348,7 +348,7 @@ impl From<quinn::ReadToEndError> for InitError {
348
fn from(value: quinn::ReadToEndError) -> Self {
349
match value {
350
quinn::ReadToEndError::Read(quinn::ReadError::ConnectionLost(err)) => err.into(),
351
- err @ _ => Self::Other(err.into()),
+ err => Self::Other(err.into()),
352
}
353
354
@@ -357,7 +357,7 @@ impl From<quinn::WriteError> for InitError {
357
fn from(value: quinn::WriteError) -> Self {
358
359
quinn::WriteError::ConnectionLost(err) => err.into(),
360
361
362
363
0 commit comments