mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
chore: apply clippy suggestions (#256)
This commit is contained in:
@@ -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