Fix master compilation (#3977)

This commit is contained in:
Bastian Köcher
2021-09-30 14:16:42 +02:00
committed by GitHub
parent 819849f097
commit c3a8d35d1b
@@ -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<MultiLocation>, _: Xcm<()>) -> SendResult {
Ok(())
}
}