Fix clippy::unused_parens (#4931)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
teor 2022-08-29 16:58:56 +10:00 committed by GitHub
parent c76a954033
commit e243a357f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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"),
};