From 40da7151381d877beaa683880e08c8ecd73c0ea6 Mon Sep 17 00:00:00 2001 From: 4meta5 Date: Tue, 28 Nov 2023 16:17:27 -0500 Subject: [PATCH] clippy fmt --- runtime/tests/common/mod.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/runtime/tests/common/mod.rs b/runtime/tests/common/mod.rs index 4fe99c3..a5f4fe8 100644 --- a/runtime/tests/common/mod.rs +++ b/runtime/tests/common/mod.rs @@ -2,10 +2,7 @@ use frame_support::weights::Weight; use parachain_template_runtime::{BuildStorage, Runtime, System}; -pub fn run_with_system_weight(w: Weight, mut assertions: F) -where - F: FnMut() -> (), -{ +pub fn run_with_system_weight(w: Weight, mut assertions: F) { let mut t: sp_io::TestExternalities = frame_system::GenesisConfig::::default().build_storage().unwrap().into(); t.execute_with(|| {