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:
parent
390fe583db
commit
460e59e3fb
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ pub async fn create_cardindex_from_dd_latest(locale: &str, known_set_codes: impl
|
||||||
let mut index = card::CardIndex::new();
|
let mut index = card::CardIndex::new();
|
||||||
|
|
||||||
for set_code in known_set_codes {
|
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");
|
.expect("to be able to fetch set bundle");
|
||||||
|
|
||||||
for card in set.cards {
|
for card in set.cards {
|
||||||
|
|
Loading…
Reference in a new issue