Skip to content

Commit

Permalink
fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed May 8, 2024
1 parent 43cc908 commit f772310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mm2src/coins/solana/solana_common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ use crate::{BalanceError, MarketCoinOps, NumConversError, SignatureError, Signat
UnexpectedDerivationMethod, VerificationError, VerificationResult, WithdrawError};
use base58::FromBase58;
use derive_more::Display;
use enum_derives::EnumFromStringify;
use futures::compat::Future01CompatExt;
use mm2_err_handle::prelude::*;
use mm2_number::bigdecimal::{BigDecimal, ToPrimitive};
Expand Down Expand Up @@ -49,6 +50,7 @@ impl From<BalanceError> for SufficientBalanceError {
}
}
}

impl From<SufficientBalanceError> for WithdrawError {
fn from(e: SufficientBalanceError) -> Self {
match e {
Expand Down
1 change: 1 addition & 0 deletions mm2src/coins/solana/spl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use async_trait::async_trait;
use bincode::serialize;
use common::executor::{abortable_queue::AbortableQueue, AbortableSystem, AbortedError};
use common::{async_blocking, now_sec};
use enum_derives::EnumFromStringify;
use futures::{FutureExt, TryFutureExt};
use futures01::Future;
use keys::KeyPair;
Expand Down

0 comments on commit f772310

Please sign in to comment.