clippy fixes

This commit is contained in:
Robin Appelman 2025-05-26 21:20:44 +02:00
commit 824634f737
2 changed files with 2 additions and 1 deletions

View file

@ -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,

View file

@ -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");