Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Address clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tuommaki committed Feb 6, 2024
1 parent 0310280 commit 14aaad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ fn print_tx_tree(tree: &TransactionTree, indentation: u16) {
println!("Root: {hash}");
children
.iter()
.for_each(|x| print_tx_tree(&x, indentation + 1));
.for_each(|x| print_tx_tree(x, indentation + 1));
}
TransactionTree::Node { children, hash } => {
println!(
Expand All @@ -185,7 +185,7 @@ fn print_tx_tree(tree: &TransactionTree, indentation: u16) {
);
children
.iter()
.for_each(|x| print_tx_tree(&x, indentation + 1));
.for_each(|x| print_tx_tree(x, indentation + 1));
}
TransactionTree::Leaf { hash } => {
println!(
Expand Down

0 comments on commit 14aaad6

Please sign in to comment.