From b0f23c504ff1652c19be41c6c46e341bc9814625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Sat, 11 Jan 2025 08:51:06 +0100 Subject: [PATCH] Apply suggestions from code review --- substrate/frame/system/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/substrate/frame/system/src/lib.rs b/substrate/frame/system/src/lib.rs index 379e5e10508d..f2bb5e290c94 100644 --- a/substrate/frame/system/src/lib.rs +++ b/substrate/frame/system/src/lib.rs @@ -2403,6 +2403,7 @@ where before_finalize: Box)>, after_finalize: Box)>, } + #[cfg(any(feature = "std", feature = "runtime-benchmarks", test))] impl<'a, T> RunToBlockHooks<'a, T> where @@ -2441,6 +2442,7 @@ where self } } + #[cfg(any(feature = "std", feature = "runtime-benchmarks", test))] impl<'a, T> Default for RunToBlockHooks<'a, T> where