mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-12 22:47:08 +02:00
chore: apply clippy suggestions (#256)
This commit is contained in:
1 parent
e203b4f68f
commit
92d9f2754c
2 files changed
+3
-6
No files matched your search
@@ -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?;
|
||||
|
||||
Reference in new issue
Block a user