Skip to content

Commit dfc6f4e

Browse files
committed
format
1 parent 9535c43 commit dfc6f4e

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/download.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,7 @@ pub async fn download_image<'a>(
4848
let filepath = folder.join(filename);
4949

5050
for attempt_no in 1..=attempt_count {
51-
let result = fetch_image(
52-
client,
53-
&date_cached,
54-
job_id,
55-
total_count,
56-
api,
57-
cache_file,
58-
)
59-
.await;
51+
let result = fetch_image(client, &date_cached, job_id, total_count, api, cache_file).await;
6052
match result {
6153
Ok(image) => {
6254
if let Err(error) = image.save(filepath) {

0 commit comments

Comments
 (0)