From d79ac3f9a86d77d0f3cdc8c59bb050dd03fdffa7 Mon Sep 17 00:00:00 2001 From: Daniil Polyakov Date: Tue, 10 Mar 2026 01:09:03 +0300 Subject: [PATCH] fix: formatting --- wallet/src/lib.rs | 5 ++++- .../src/program_facades/native_token_transfer/mod.rs | 10 ++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/wallet/src/lib.rs b/wallet/src/lib.rs index 9a83e94e..a3c58a97 100644 --- a/wallet/src/lib.rs +++ b/wallet/src/lib.rs @@ -326,7 +326,10 @@ impl WalletCore { } // TODO: handle large Err-variant properly - #[expect(clippy::result_large_err, reason = "ExecutionFailureKind is large, tracked by TODO")] + #[expect( + clippy::result_large_err, + reason = "ExecutionFailureKind is large, tracked by TODO" + )] pub async fn send_privacy_preserving_tx( &self, accounts: Vec, diff --git a/wallet/src/program_facades/native_token_transfer/mod.rs b/wallet/src/program_facades/native_token_transfer/mod.rs index fd24c504..1db864f6 100644 --- a/wallet/src/program_facades/native_token_transfer/mod.rs +++ b/wallet/src/program_facades/native_token_transfer/mod.rs @@ -9,11 +9,17 @@ pub mod private; pub mod public; pub mod shielded; -#[expect(clippy::multiple_inherent_impl, reason = "impl blocks split across multiple files for organization")] +#[expect( + clippy::multiple_inherent_impl, + reason = "impl blocks split across multiple files for organization" +)] pub struct NativeTokenTransfer<'wallet>(pub &'wallet WalletCore); // TODO: handle large Err-variant properly -#[expect(clippy::result_large_err, reason = "ExecutionFailureKind is large, tracked by TODO")] +#[expect( + clippy::result_large_err, + reason = "ExecutionFailureKind is large, tracked by TODO" +)] fn auth_transfer_preparation( balance_to_move: u128, ) -> (