cargo fmt

This commit is contained in:
Keith Yeung
2022-03-12 00:02:40 -08:00
parent c42ccafd9f
commit c3ee8a1547
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -31,14 +31,14 @@ pub trait PriceForParentDelivery {
impl PriceForParentDelivery for () {
fn price_for_parent_delivery(_: &Xcm<()>) -> MultiAssets {
MultiAssets::new()
MultiAssets::new()
}
}
pub struct ConstantPrice<T>(PhantomData<T>);
impl<T: Get<MultiAssets>> PriceForParentDelivery for ConstantPrice<T> {
fn price_for_parent_delivery(_: &Xcm<()>) -> MultiAssets {
T::get()
T::get()
}
}