mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 10:14:11 +02:00
clippy fixes
This commit is contained in:
parent
db3cdc1597
commit
824634f737
2 changed files with 2 additions and 1 deletions
|
|
@ -205,6 +205,7 @@ impl Archive {
|
|||
.map_ok(|map| map.id as u32)
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn get_team_ids_in(
|
||||
&self,
|
||||
min: u32,
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ async fn fixup_matches(client: &UgcClient, archive: &Archive) -> MainResult {
|
|||
if !archive.has_match(match_id).await? {
|
||||
warn!(match_id, "match not archived yet");
|
||||
sleep(Duration::from_millis(500)).await;
|
||||
if let Err(_) = archive_match(client, archive, match_id).await {
|
||||
if archive_match(client, archive, match_id).await.is_err() {
|
||||
let match_info = season_match
|
||||
.match_info(&matches.team, season.format)
|
||||
.expect("failed to build match info");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue