Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-otf committed Nov 26, 2024
1 parent 29c6406 commit 6c0bce2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions support/code-coverage/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ fn analyze_file(path: &Path, root_path: &Path) -> Vec<PalletInfo> {
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 {
Expand Down

0 comments on commit 6c0bce2

Please sign in to comment.