mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-10 15:30:14 -04:00
clean: use dprint
This commit is contained in:
parent
e3547fbec2
commit
a57e3aff75
10 changed files with 127 additions and 18 deletions
|
@ -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()
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue