Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
ales-otf committed Dec 2, 2024
1 parent 6642454 commit 2ed4acc
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 2ed4acc

Please sign in to comment.