mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-05-26 03:24:03 +00:00
style: Remove unnecessary then() calls in chain
This commit is contained in:
@@ -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