We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6642454 commit 2ed4accCopy full SHA for 2ed4acc
support/code-coverage/src/lib.rs
@@ -188,11 +188,11 @@ fn analyze_file(path: &Path, root_path: &Path) -> Vec<PalletInfo> {
188
strip_common_suffix("/src/lib.rs".as_ref(), strip_common_prefix(root_path, path))
189
.display(),
190
);
191
- let mut info = PalletInfo {
192
- path: path.to_path_buf(),
193
- pallet_name:extract_pallet_name(path).unwrap_or("pallet".to_string()),
194
- ..Default::default()
195
- };
+ let mut info = PalletInfo {
+ path: path.to_path_buf(),
+ pallet_name: extract_pallet_name(path).unwrap_or("pallet".to_string()),
+ ..Default::default()
+ };
196
197
// collect all Call methods
198
if let Some(call) = &pallet.call {
0 commit comments