format: format code

This commit is contained in:
jeasonnow
2024-07-30 16:58:12 +08:00
parent 5752996f89
commit d738c1a3e9
6 changed files with 28 additions and 21 deletions

View File

@@ -29,9 +29,10 @@ pub async fn download_file(app: AppHandle, params: DownloadFileParams) -> Result
let client = ClientBuilder::new().build().unwrap();
let response = client
.execute(
Request::new(Method::GET, Url::from_str(&params.url).unwrap())
)
.execute(Request::new(
Method::GET,
Url::from_str(&params.url).unwrap(),
))
.await;
match response {