From e243a357f989769930b523a7e9ac4d70741c150f Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 29 Aug 2022 16:58:56 +1000 Subject: [PATCH] Fix clippy::unused_parens (#4931) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- zebra-state/src/service/check/tests/anchors.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebra-state/src/service/check/tests/anchors.rs b/zebra-state/src/service/check/tests/anchors.rs index d9bf9012..34b88159 100644 --- a/zebra-state/src/service/check/tests/anchors.rs +++ b/zebra-state/src/service/check/tests/anchors.rs @@ -1,6 +1,6 @@ //! Tests for whether cited anchors are checked properly. -use std::{convert::TryInto, ops::Deref, sync::Arc}; +use std::{ops::Deref, sync::Arc}; use zebra_chain::{ amount::Amount, @@ -207,7 +207,7 @@ fn check_sapling_anchors() { Transaction::V4 { sapling_shielded_data, .. - } => (sapling_shielded_data.clone()), + } => sapling_shielded_data.clone(), _ => unreachable!("These are known v4 transactions"), };