From 017d6cf36d2fa70d53466f52f1b375f8a9865bef Mon Sep 17 00:00:00 2001 From: shohame Date: Sun, 28 Jul 2024 12:38:53 +0000 Subject: [PATCH] linter fix --- redis/src/cluster_async/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redis/src/cluster_async/mod.rs b/redis/src/cluster_async/mod.rs index 0f8f20dff..e0479d55a 100644 --- a/redis/src/cluster_async/mod.rs +++ b/redis/src/cluster_async/mod.rs @@ -1291,7 +1291,7 @@ where Some(ResponsePolicy::CombineMaps) => { future::try_join_all(receivers.into_iter().map(get_receiver)) .await - .and_then(|results| crate::cluster_routing::combine_map_results(results)) + .and_then(crate::cluster_routing::combine_map_results) } Some(ResponsePolicy::Special) | None => { // This is our assumption - if there's no coherent way to aggregate the responses, we just map each response to the sender, and pass it to the user.