From a104ae0971ff33cf67727f6dee4b3e7709e2e07f Mon Sep 17 00:00:00 2001 From: Pavlo Khrystenko Date: Fri, 10 Jan 2025 11:09:21 +0100 Subject: [PATCH] fixup --- substrate/frame/support/test/tests/runtime_metadata.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/substrate/frame/support/test/tests/runtime_metadata.rs b/substrate/frame/support/test/tests/runtime_metadata.rs index 0470c05debb7..9bda6f7d3936 100644 --- a/substrate/frame/support/test/tests/runtime_metadata.rs +++ b/substrate/frame/support/test/tests/runtime_metadata.rs @@ -102,14 +102,15 @@ mod apis { fn wild_card(_: u32) {} } - pub use ext::*; + + external_impls!{ext} } } #[sp_api::impl_runtime_apis_ext] mod ext { - use super::*; - use crate::apis::RuntimeApiImpl; + + external_impls! {super, crate::apis} impl sp_api::Core for Runtime { fn version() -> sp_version::RuntimeVersion {