diff --git a/protocols/rendezvous/src/client.rs b/protocols/rendezvous/src/client.rs index 77ea2ae95d4..5ceb945a4f1 100644 --- a/protocols/rendezvous/src/client.rs +++ b/protocols/rendezvous/src/client.rs @@ -310,8 +310,7 @@ fn handle_outbound_event( expiring_registrations.extend(registrations.iter().cloned().map(|registration| { async move { // if the timer errors we consider it expired - let _ = futures_timer::Delay::new(Duration::from_secs(registration.ttl as u64)) - .await; + futures_timer::Delay::new(Duration::from_secs(registration.ttl as u64)).await; (registration.record.peer_id(), registration.namespace) }