From c51536a054dc41b8486e43deb6eb983d00e4bc94 Mon Sep 17 00:00:00 2001 From: multi prise Date: Mon, 11 Aug 2025 19:50:08 +0200 Subject: [PATCH] reformat --- crates/matrix-sdk-sqlite/src/utils.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/crates/matrix-sdk-sqlite/src/utils.rs b/crates/matrix-sdk-sqlite/src/utils.rs index 9350ef15a..c8570b2f1 100644 --- a/crates/matrix-sdk-sqlite/src/utils.rs +++ b/crates/matrix-sdk-sqlite/src/utils.rs @@ -471,10 +471,14 @@ pub(crate) trait SqliteKeyValueStoreAsyncConnExt: SqliteAsyncConnExt { let cipher = StoreCipher::new()?; let export = match secret { Secret::PassPhrase(ref passphrase) => { - #[cfg(not(test))] - {cipher.export(passphrase)} - #[cfg(test)] - {cipher._insecure_export_fast_for_testing(passphrase)} + #[cfg(not(test))] + { + cipher.export(passphrase) + } + #[cfg(test)] + { + cipher._insecure_export_fast_for_testing(passphrase) + } } Secret::Key(key) => cipher.export_with_key(&key), };