From 829cb81a7b25de603457a14d05bc5232e054c410 Mon Sep 17 00:00:00 2001 From: Adrian Catangiu Date: Wed, 2 Oct 2024 10:54:05 +0300 Subject: [PATCH] fmt --- .../asset-hubs/asset-hub-kusama/src/xcm_config.rs | 3 +-- .../asset-hubs/asset-hub-polkadot/src/xcm_config.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs b/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs index 1d3e46419c..2da556f7ce 100644 --- a/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs +++ b/system-parachains/asset-hubs/asset-hub-kusama/src/xcm_config.rs @@ -603,8 +603,7 @@ pub mod bridging { } } impl, OriginLocation: Get> - ContainsPair - for RemoteAssetFromLocation + ContainsPair for RemoteAssetFromLocation { fn contains(asset: &Asset, origin: &Location) -> bool { >::contains(&asset.id.0, origin) diff --git a/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs b/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs index 11470ed800..c127a0f17c 100644 --- a/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs +++ b/system-parachains/asset-hubs/asset-hub-polkadot/src/xcm_config.rs @@ -671,8 +671,7 @@ pub mod bridging { } } impl, OriginLocation: Get> - ContainsPair - for RemoteAssetFromLocation + ContainsPair for RemoteAssetFromLocation { fn contains(asset: &Asset, origin: &Location) -> bool { >::contains(&asset.id.0, origin)