From 5bb6924e020a46d38c5f25d2f2c1ad9d019bdd84 Mon Sep 17 00:00:00 2001 From: ss-es <155648797+ss-es@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:02:53 -0500 Subject: [PATCH] clippy --- crates/types/src/traits/storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/types/src/traits/storage.rs b/crates/types/src/traits/storage.rs index b52de7c66a..a2ecfdd83a 100644 --- a/crates/types/src/traits/storage.rs +++ b/crates/types/src/traits/storage.rs @@ -103,7 +103,7 @@ pub trait Storage: Send + Sync + Clone { self.update_undecided_state( leaves .iter() - .map(|(&commitment, &ref leaf)| { + .map(|(&commitment, leaf)| { ( Commitment::from_raw(commitment.into()), leaf.clone().to_leaf_unsafe(),