difftreelog
fix cargo fmt
in: master
4 files changed
pallets/configuration/src/lib.rsdiffbeforeafterbothno syntactic changes
runtime/common/xcm.rsdiffbeforeafterboth--- a/runtime/common/xcm.rs
+++ b/runtime/common/xcm.rs
@@ -20,17 +20,17 @@
pub struct OverridableAllowedLocations<T, L>(PhantomData<(T, L)>)
where
- T: pallet_configuration::Config,
- L: Get<Vec<MultiLocation>>;
+ T: pallet_configuration::Config,
+ L: Get<Vec<MultiLocation>>;
impl<T, L> Get<Vec<MultiLocation>> for OverridableAllowedLocations<T, L>
where
- T: pallet_configuration::Config,
- L: Get<Vec<MultiLocation>>
+ T: pallet_configuration::Config,
+ L: Get<Vec<MultiLocation>>,
{
- fn get() -> Vec<MultiLocation> {
- <pallet_configuration::XcmAllowedLocationsOverride<T>>::get()
- .map(|bounded| bounded.into_inner())
- .unwrap_or_else(|| L::get())
- }
+ fn get() -> Vec<MultiLocation> {
+ <pallet_configuration::XcmAllowedLocationsOverride<T>>::get()
+ .map(|bounded| bounded.into_inner())
+ .unwrap_or_else(|| L::get())
+ }
}
runtime/quartz/src/xcm_barrier.rsdiffbeforeafterboth--- a/runtime/quartz/src/xcm_barrier.rs
+++ b/runtime/quartz/src/xcm_barrier.rs
@@ -30,7 +30,7 @@
runtime_common::{
config::xcm::{DenyThenTry, DenyTransact, DenyExchangeWithUnknownLocation},
xcm::OverridableAllowedLocations,
- }
+ },
};
match_types! {
@@ -74,7 +74,7 @@
(
DenyTransact,
DenyExchangeWithUnknownLocation<
- OverridableAllowedLocations<Runtime, QuartzDefaultAllowedLocations>
+ OverridableAllowedLocations<Runtime, QuartzDefaultAllowedLocations>,
>,
),
(
runtime/unique/src/xcm_barrier.rsdiffbeforeafterboth--- a/runtime/unique/src/xcm_barrier.rs
+++ b/runtime/unique/src/xcm_barrier.rs
@@ -30,7 +30,7 @@
runtime_common::{
config::xcm::{DenyThenTry, DenyTransact, DenyExchangeWithUnknownLocation},
xcm::OverridableAllowedLocations,
- }
+ },
};
match_types! {
@@ -74,7 +74,7 @@
(
DenyTransact,
DenyExchangeWithUnknownLocation<
- OverridableAllowedLocations<Runtime, UniqueDefaultAllowedLocations>
+ OverridableAllowedLocations<Runtime, UniqueDefaultAllowedLocations>,
>,
),
(