mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Fix cargo clippy warnings
This commit is contained in:
@@ -70,7 +70,7 @@ pub async fn download_images<'a, 'b>(
|
||||
let mut file = File::create(path).unwrap();
|
||||
let response = reqwest::get(image.url).await?;
|
||||
let content = response.bytes().await?;
|
||||
file.write(&content).unwrap();
|
||||
file.write_all(&content).unwrap();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user