Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emarsden committed Aug 1, 2024
1 parent 6e6b118 commit 7850db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ fn select_preferred_representation<'a>(
.find(|r| r.qualityRanking.unwrap_or(u8::MAX) == *want_ranking)
.copied()
} else {
representations.get(0).copied()
representations.first().copied()
}
},
}
Expand Down Expand Up @@ -1125,7 +1125,7 @@ fn select_preferred_representation<'a>(
.find(|r| r.bandwidth.unwrap_or(100_000_000) == *want_ranking)
.copied()
} else {
representations.get(0).copied()
representations.first().copied()
}
},
}
Expand Down

0 comments on commit 7850db7

Please sign in to comment.