From 2ed4acc0f1865066d52f2ffc8eeba7d36dec2d48 Mon Sep 17 00:00:00 2001 From: Aliaksandr Tsurko Date: Tue, 26 Nov 2024 17:36:17 +0100 Subject: [PATCH] Reformat --- support/code-coverage/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/support/code-coverage/src/lib.rs b/support/code-coverage/src/lib.rs index aaf2239ce..e08f02bcc 100644 --- a/support/code-coverage/src/lib.rs +++ b/support/code-coverage/src/lib.rs @@ -188,11 +188,11 @@ fn analyze_file(path: &Path, root_path: &Path) -> Vec { strip_common_suffix("/src/lib.rs".as_ref(), strip_common_prefix(root_path, path)) .display(), ); - let mut info = PalletInfo { - path: path.to_path_buf(), - pallet_name:extract_pallet_name(path).unwrap_or("pallet".to_string()), - ..Default::default() - }; + let mut info = PalletInfo { + path: path.to_path_buf(), + pallet_name: extract_pallet_name(path).unwrap_or("pallet".to_string()), + ..Default::default() + }; // collect all Call methods if let Some(call) = &pallet.call {