From 18466fc42af61d725186e54ad4b8f05e68f36d79 Mon Sep 17 00:00:00 2001 From: dimxy Date: Sun, 22 Sep 2024 22:22:19 +0500 Subject: [PATCH] fix fmt --- mm2src/common/common.rs | 2 +- mm2src/trading_api/src/one_inch_api/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm2src/common/common.rs b/mm2src/common/common.rs index 4992772164..cf4fd6391d 100644 --- a/mm2src/common/common.rs +++ b/mm2src/common/common.rs @@ -151,6 +151,7 @@ use futures01::{future, Future}; use http::header::CONTENT_TYPE; use http::Response; use parking_lot::{Mutex as PaMutex, MutexGuard as PaMutexGuard}; +pub use paste::paste; use rand::RngCore; use rand::{rngs::SmallRng, SeedableRng}; use serde::{de, ser}; @@ -172,7 +173,6 @@ use std::ptr::read_volatile; use std::sync::atomic::Ordering; use std::time::{Duration, SystemTime, SystemTimeError}; use uuid::Uuid; -pub use paste::paste; pub use http::StatusCode; pub use serde; diff --git a/mm2src/trading_api/src/one_inch_api/types.rs b/mm2src/trading_api/src/one_inch_api/types.rs index 6cf75434ec..5e963ba0ba 100644 --- a/mm2src/trading_api/src/one_inch_api/types.rs +++ b/mm2src/trading_api/src/one_inch_api/types.rs @@ -2,8 +2,8 @@ use super::client::QueryParams; use super::errors::ApiClientError; +use common::{def_with_opt_param, push_if_some}; use ethereum_types::Address; -use common::{push_if_some, def_with_opt_param}; use mm2_err_handle::mm_error::MmResult; use serde::{Deserialize, Serialize};