mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
style: Remove unnecessary then() calls in chain
This commit is contained in:
@@ -551,7 +551,6 @@ where
|
|||||||
|
|
||||||
Some((server, response))
|
Some((server, response))
|
||||||
})
|
})
|
||||||
.then(async |v| v)
|
|
||||||
.collect::<FuturesUnordered<_>>()
|
.collect::<FuturesUnordered<_>>()
|
||||||
.await
|
.await
|
||||||
.into_iter();
|
.into_iter();
|
||||||
@@ -686,7 +685,6 @@ pub(crate) async fn claim_keys_helper(
|
|||||||
.and_then(|res| res);
|
.and_then(|res| res);
|
||||||
Some((server, response))
|
Some((server, response))
|
||||||
})
|
})
|
||||||
.then(async |v| v)
|
|
||||||
.collect::<FuturesUnordered<_>>()
|
.collect::<FuturesUnordered<_>>()
|
||||||
.await
|
.await
|
||||||
.into_iter();
|
.into_iter();
|
||||||
|
|||||||
Reference in New Issue
Block a user