Browse Source

chore: clippy

thesimplekid 2 tháng trước cách đây
mục cha
commit
51b26eae62
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      crates/cdk-sql-common/src/mint/mod.rs

+ 1 - 2
crates/cdk-sql-common/src/mint/mod.rs

@@ -689,8 +689,7 @@ VALUES (:quote_id, :amount, :timestamp);
 
     #[instrument(skip_all)]
     async fn add_mint_quote(&mut self, quote: MintQuote) -> Result<(), Self::Err> {
-        tracing::debug!("Adding quote with: {}", quote.payment_method.to_string());
-        println!("Adding quote with: {}", quote.payment_method.to_string());
+        tracing::debug!("Adding quote with: {}", quote.payment_method);
         query(
             r#"
                 INSERT INTO mint_quote (