chore: apply clippy suggestions (#256)

This commit is contained in:
Fabian-Lars authored and GitHub committed 2023-02-15 15:32:11 +01:00
1 parent e203b4f68f
commit 92d9f2754c
2 files changed
+3 -6

No files matched your search

+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?;