From c3a8d35d1b46c8751513da3a05f6881d94f4dd06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Thu, 30 Sep 2021 14:16:42 +0200 Subject: [PATCH] Fix master compilation (#3977) --- polkadot/xcm/pallet-xcm-benchmarks/src/mock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/xcm/pallet-xcm-benchmarks/src/mock.rs b/polkadot/xcm/pallet-xcm-benchmarks/src/mock.rs index 2b1cb31f15..d59cf33872 100644 --- a/polkadot/xcm/pallet-xcm-benchmarks/src/mock.rs +++ b/polkadot/xcm/pallet-xcm-benchmarks/src/mock.rs @@ -21,7 +21,7 @@ use xcm_executor::traits::FilterAssetLocation; // An xcm sender/receiver akin to > /dev/null pub struct DevNull; impl xcm::opaque::latest::SendXcm for DevNull { - fn send_xcm(_: MultiLocation, _: Xcm<()>) -> SendResult { + fn send_xcm(_: impl Into, _: Xcm<()>) -> SendResult { Ok(()) } }