1
Fork 0
mirror of https://github.com/Steffo99/patched-porobot.git synced 2024-12-22 17:44:22 +00:00

Apply clippy::needless_borrow suggestion

This commit is contained in:
Steffo 2023-04-11 17:12:04 +02:00
parent 390fe583db
commit 460e59e3fb
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -160,7 +160,7 @@ pub async fn create_cardindex_from_dd_latest(locale: &str, known_set_codes: impl
let mut index = card::CardIndex::new();
for set_code in known_set_codes {
let set = SetBundle::fetch(&client, "https://dd.b.pvp.net/latest", locale, &set_code).await
let set = SetBundle::fetch(&client, "https://dd.b.pvp.net/latest", locale, set_code).await
.expect("to be able to fetch set bundle");
for card in set.cards {