chore: apply clippy suggestions (#256)

This commit is contained in:
Fabian-Lars
2023-02-15 15:32:11 +01:00
committed by GitHub
parent e203b4f68f
commit 92d9f2754c
2 changed files with 3 additions and 6 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ async fn download<R: Runtime>(
let response = request.send().await?;
let total = response.content_length().ok_or_else(|| {
Error::ContentLength(format!("Failed to get content length from '{}'", url))
Error::ContentLength(format!("Failed to get content length from '{url}'"))
})?;
let mut file = File::create(file_path).await?;