Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Dec 3, 2024
1 parent 088bb3d commit 9199889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ impl Formatter {
(ContractType::System, ShowCalls::System) => true,
};

// Collect subcalls that should be printed
// Collect subcalls that should be printed (e.g. handle filtering)
let subcalls_to_print: Vec<&Call> = call
.calls
.iter()
Expand Down Expand Up @@ -509,7 +509,7 @@ impl Formatter {
}
});
} else {
// Process subcalls at the same indentation level
// Call is not printed; process subcalls at the same indentation level
let num_subcalls = subcalls_to_print.len();
for (i, subcall) in subcalls_to_print.iter().enumerate() {
let is_last_subcall = is_last_sibling && (i == num_subcalls - 1);
Expand Down

0 comments on commit 9199889

Please sign in to comment.