style: Remove unnecessary then() calls in chain

This commit is contained in:
timedout
2026-01-03 16:22:49 +00:00
parent 56d7099011
commit 1c7bd2f6fa
-2
View File
@@ -551,7 +551,6 @@ pub(crate) async fn get_keys_helper<F>(
Some((server, response))
})
.then(async |v| v)
.collect::<FuturesUnordered<_>>()
.await
.into_iter();
@@ -686,7 +685,6 @@ pub(crate) async fn claim_keys_helper(
.and_then(|res| res);
Some((server, response))
})
.then(async |v| v)
.collect::<FuturesUnordered<_>>()
.await
.into_iter();