git.delta.rocks / unique-network / refs/commits / d3cffa16c095

difftreelog

fix cargo fmt

Daniel Shiposha2022-12-12parent: #44d0263.patch.diff
in: master

4 files changed

modifiedpallets/configuration/src/lib.rsdiffbeforeafterboth

no syntactic changes

modifiedruntime/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())
+	}
 }
modifiedruntime/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>,
 		>,
 	),
 	(
modifiedruntime/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>,
 		>,
 	),
 	(