فهرست منبع

Merge pull request #650 from benthecarman/rm-clone

fix: remove unnecessary clone
thesimplekid 1 ماه پیش
والد
کامیت
a691df7916
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      crates/cdk/src/wallet/mint.rs

+ 1 - 1
crates/cdk/src/wallet/mint.rs

@@ -79,7 +79,7 @@ impl Wallet {
             mint_url,
             id: quote_res.quote,
             amount,
-            unit: unit.clone(),
+            unit,
             request: quote_res.request,
             state: quote_res.state,
             expiry: quote_res.expiry.unwrap_or(0),