File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ impl From<quinn::ReadToEndError> for InitError {
348
348
fn from ( value : quinn:: ReadToEndError ) -> Self {
349
349
match value {
350
350
quinn:: ReadToEndError :: Read ( quinn:: ReadError :: ConnectionLost ( err) ) => err. into ( ) ,
351
- err @ _ => Self :: Other ( err. into ( ) ) ,
351
+ err => Self :: Other ( err. into ( ) ) ,
352
352
}
353
353
}
354
354
}
@@ -357,7 +357,7 @@ impl From<quinn::WriteError> for InitError {
357
357
fn from ( value : quinn:: WriteError ) -> Self {
358
358
match value {
359
359
quinn:: WriteError :: ConnectionLost ( err) => err. into ( ) ,
360
- err @ _ => Self :: Other ( err. into ( ) ) ,
360
+ err => Self :: Other ( err. into ( ) ) ,
361
361
}
362
362
}
363
363
}
@@ -411,6 +411,9 @@ mod tests {
411
411
tasks. spawn ( accept_loop ( ep2, accept2) ) ;
412
412
413
413
for i in 0u8 ..20 {
414
+ assert ! ( conn_manager1. get( & n2) . is_nome( ) ) ;
415
+ assert ! ( conn_manager2. get( & n1) . is_nome( ) ) ;
416
+
414
417
tracing:: info!( i, "start dial" ) ;
415
418
conn_manager1. dial ( n2) ;
416
419
conn_manager2. dial ( n1) ;
You can’t perform that action at this time.
0 commit comments