format: format code
This commit is contained in:
@@ -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(¶ms.url).unwrap())
|
||||
)
|
||||
.execute(Request::new(
|
||||
Method::GET,
|
||||
Url::from_str(¶ms.url).unwrap(),
|
||||
))
|
||||
.await;
|
||||
|
||||
match response {
|
||||
|
||||
Reference in New Issue
Block a user