mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +02:00
Remove unwraps from librespot-audio
This commit is contained in:
parent
d18a0d1803
commit
0d51fd43dc
9 changed files with 301 additions and 165 deletions
|
@ -80,7 +80,7 @@ impl CdnUrl {
|
|||
return Err(CdnUrlError::Empty);
|
||||
}
|
||||
|
||||
// remove expired URLs until the first one is current, or none are left
|
||||
// prune expired URLs until the first one is current, or none are left
|
||||
let now = Local::now();
|
||||
while !self.urls.is_empty() {
|
||||
let maybe_expiring = self.urls[0].1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue