From 6d798a8e7ff67633173132aa28a88f4c004c25d7 Mon Sep 17 00:00:00 2001 From: Samuel Onoja Date: Fri, 10 Jan 2025 02:23:00 +0100 Subject: [PATCH] cargo fmt --- mm2src/mm2_main/src/lp_wallet.rs | 2 +- mm2src/mm2_main/src/lp_wallet/mnemonics_storage.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/mm2src/mm2_main/src/lp_wallet.rs b/mm2src/mm2_main/src/lp_wallet.rs index fec6bf488b..69bf2b06ef 100644 --- a/mm2src/mm2_main/src/lp_wallet.rs +++ b/mm2src/mm2_main/src/lp_wallet.rs @@ -1,13 +1,13 @@ use common::HttpStatusCode; use crypto::{decrypt_mnemonic, encrypt_mnemonic, generate_mnemonic, CryptoCtx, CryptoInitError, EncryptedData, MnemonicError}; +use enum_derives::EnumFromStringify; use http::StatusCode; use itertools::Itertools; use mm2_core::mm_ctx::MmArc; use mm2_err_handle::prelude::*; use serde::de::DeserializeOwned; use serde_json::{self as json, Value as Json}; -use enum_derives::EnumFromStringify; cfg_wasm32! { use crate::lp_wallet::mnemonics_wasm_db::{WalletsDb, WalletsDBError}; diff --git a/mm2src/mm2_main/src/lp_wallet/mnemonics_storage.rs b/mm2src/mm2_main/src/lp_wallet/mnemonics_storage.rs index 089286ef05..4b064d94e4 100644 --- a/mm2src/mm2_main/src/lp_wallet/mnemonics_storage.rs +++ b/mm2src/mm2_main/src/lp_wallet/mnemonics_storage.rs @@ -4,7 +4,7 @@ use mm2_core::mm_ctx::MmArc; use mm2_err_handle::prelude::*; use mm2_io::fs::{ensure_file_is_writable, list_files_by_extension}; -use super::{ReadPassphraseError}; +use super::ReadPassphraseError; type WalletsStorageResult = Result>; @@ -78,4 +78,3 @@ pub(super) async fn read_all_wallet_names(ctx: &MmArc) -> WalletsStorageResult