mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 02:01:21 +00:00
style: Remove unnecessary then() calls in chain
This commit is contained in:
1 file changed
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user