From 374da82913febc5735602c28325f5b66b2f49978 Mon Sep 17 00:00:00 2001 From: barshaul Date: Mon, 11 Nov 2024 15:43:28 +0000 Subject: [PATCH] Fix lint Signed-off-by: barshaul --- glide-core/src/client/reconnecting_connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glide-core/src/client/reconnecting_connection.rs b/glide-core/src/client/reconnecting_connection.rs index b9b50ca71e..c567b6b5a6 100644 --- a/glide-core/src/client/reconnecting_connection.rs +++ b/glide-core/src/client/reconnecting_connection.rs @@ -124,7 +124,7 @@ async fn create_connection( let action = || async { get_multiplexed_connection(client, &connection_options) .await - .map_err(|err| RetryError::transient(err)) + .map_err(RetryError::transient) }; match Retry::spawn(retry_strategy.get_iterator(), action).await {