difftreelog
fix formatting
in: master
2 files changed
pallets/foreign-assets/src/lib.rsdiffbeforeafterboth482 }482 }483}483}484impl<484impl<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced> Drop485 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,486 AssetId: Get<MultiLocation>,487 AccountId,488 Currency: CurrencyT<AccountId>,489 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,490> Drop for FreeForAll<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>485 for FreeForAll<WeightToFee, AssetId, AccountId, Currency, OnUnbalanced>486where487 WeightToFee: WeightToFeePolynomial<Balance = Currency::Balance>,488 AssetId: Get<MultiLocation>,489 Currency: CurrencyT<AccountId>,490 OnUnbalanced: OnUnbalancedT<Currency::NegativeImbalance>,491{491{492 fn drop(&mut self) {492 fn drop(&mut self) {493 OnUnbalanced::on_unbalanced(Currency::issue(self.1));493 OnUnbalanced::on_unbalanced(Currency::issue(self.1));pallets/fungible/src/lib.rsdiffbeforeafterboth--- a/pallets/fungible/src/lib.rs
+++ b/pallets/fungible/src/lib.rs
@@ -519,12 +519,7 @@
}
}
- Self::create_multiple_items_common(
- collection,
- sender,
- data,
- nesting_budget,
- )
+ Self::create_multiple_items_common(collection, sender, data, nesting_budget)
}
/// Minting tokens for multiple IDs.
@@ -535,12 +530,7 @@
data: BTreeMap<T::CrossAccountId, u128>,
nesting_budget: &dyn Budget,
) -> DispatchResult {
- Self::create_multiple_items_common(
- collection,
- sender,
- data,
- nesting_budget,
- )
+ Self::create_multiple_items_common(collection, sender, data, nesting_budget)
}
fn set_allowance_unchecked(