From 68a64eaf491229aff39360c5fbdbea007e1496d9 Mon Sep 17 00:00:00 2001 From: Nikolay Komarevskiy Date: Tue, 16 Jul 2024 10:22:37 +0200 Subject: [PATCH] fix: clippy --- .../http_transport/dynamic_routing/dynamic_route_provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ic-agent/src/agent/http_transport/dynamic_routing/dynamic_route_provider.rs b/ic-agent/src/agent/http_transport/dynamic_routing/dynamic_route_provider.rs index ceb87e088..2e374ecb3 100644 --- a/ic-agent/src/agent/http_transport/dynamic_routing/dynamic_route_provider.rs +++ b/ic-agent/src/agent/http_transport/dynamic_routing/dynamic_route_provider.rs @@ -251,7 +251,7 @@ impl Drop for DynamicRouteProvider { let tracker = self.tracker.clone(); // If no runtime is available do nothing. if let Ok(handle) = Handle::try_current() { - let _ = handle.spawn(async move { + handle.spawn(async move { tracker.wait().await; warn!("{DYNAMIC_ROUTE_PROVIDER}: stopped gracefully"); });