clean: use dprint

This commit is contained in:
Einliterflasche 2024-08-26 16:19:11 +02:00
parent e3547fbec2
commit a57e3aff75
No known key found for this signature in database
GPG key ID: 15660BC9C11F9F69
10 changed files with 127 additions and 18 deletions

View file

@ -44,9 +44,12 @@ macro_rules! tauri_command {
context: tauri::State<'_, Arc<Context>>,
args: $request_name,
) -> Result<<$request_name as swap::cli::api::request::Request>::Response, String> {
<$request_name as swap::cli::api::request::Request>::request(args, context.inner().clone())
.await
.to_string_result()
<$request_name as swap::cli::api::request::Request>::request(
args,
context.inner().clone(),
)
.await
.to_string_result()
}
};
}