Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulf Lilleengen committed Sep 29, 2023
1 parent 65ca705 commit 7732198
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/src/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ impl BombasticDelete {
for result in response.result.iter() {
if let Some(matches) = &matches {
if matches.is_match(&result.document.id) {
self.delete(&client, provider, &result.document.id).await?;
self.delete(client, provider, &result.document.id).await?;
}
} else {
self.delete(&client, provider, &result.document.id).await?;
self.delete(client, provider, &result.document.id).await?;
}
}

Expand Down Expand Up @@ -207,10 +207,10 @@ impl VexinationDelete {
for result in response.result.iter() {
if let Some(matches) = &matches {
if matches.is_match(&result.document.advisory_id) {
self.delete(&client, provider, &result.document.advisory_id).await?;
self.delete(client, provider, &result.document.advisory_id).await?;
}
} else {
self.delete(&client, provider, &result.document.advisory_id).await?;
self.delete(client, provider, &result.document.advisory_id).await?;
}
}

Expand Down

0 comments on commit 7732198

Please sign in to comment.