mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 12:31:00 +00:00
clippy
This commit is contained in:
parent
da33483db7
commit
ee88823d41
1 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ pub(crate) async fn migrate_04<S: Store + 'static>(
|
|||
}
|
||||
|
||||
while set.len() >= MIGRATE_CONCURRENCY {
|
||||
if let Some(_) = set.join_next().await {
|
||||
if set.join_next().await.is_some() {
|
||||
index += 1;
|
||||
|
||||
if index % pct == 0 {
|
||||
|
@ -73,7 +73,7 @@ pub(crate) async fn migrate_04<S: Store + 'static>(
|
|||
}
|
||||
}
|
||||
|
||||
while let Some(_) = set.join_next().await {
|
||||
while set.join_next().await.is_some() {
|
||||
index += 1;
|
||||
|
||||
if index % pct == 0 {
|
||||
|
|
Loading…
Reference in a new issue