From 14e8fd5865d769c1a23f14809918eb997fe60479 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Tue, 9 Feb 2021 15:53:41 +0000 Subject: [PATCH] Remove PalletInfo impl for () --- frame/support/src/traits.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frame/support/src/traits.rs b/frame/support/src/traits.rs index c52aa60c20b15..106ec10c6c4ee 100644 --- a/frame/support/src/traits.rs +++ b/frame/support/src/traits.rs @@ -1459,11 +1459,6 @@ pub trait PalletInfo { fn name() -> Option<&'static str>; } -impl PalletInfo for () { - fn index() -> Option { Some(0) } - fn name() -> Option<&'static str> { Some("test") } -} - /// The function and pallet name of the Call. #[derive(Clone, Eq, PartialEq, Default, RuntimeDebug)] pub struct CallMetadata {