Update deps

This commit is contained in:
2023-06-02 19:03:26 +02:00
parent 345bdc85ae
commit 780a8bd899
4 changed files with 125 additions and 155 deletions

View File

@@ -194,7 +194,7 @@ pub async fn start_download_futures(
if file_type == "epub" || file_type == "fb2" {
futures.push(download_chain(
book,
file_type.clone(),
file_type,
source_config,
true
))
@@ -202,9 +202,8 @@ pub async fn start_download_futures(
}
while let Some(result) = futures.next().await {
match result {
Some(v) => return Some(v),
None => (),
if let Some(v) = result {
return Some(v)
}
}