From 14aaad6a479ae7f43949b4ee41161ceabe79ab73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuomas=20M=C3=A4kinen?= Date: Tue, 6 Feb 2024 15:59:25 +0200 Subject: [PATCH] Address clippy --- crates/cli/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cli/src/main.rs b/crates/cli/src/main.rs index b4d6675d..789a135d 100644 --- a/crates/cli/src/main.rs +++ b/crates/cli/src/main.rs @@ -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!( @@ -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!(