From b68ec050e20f28810ee4622082021a166276bbe2 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Thu, 8 Apr 2021 11:41:58 -0700 Subject: [PATCH] Remove redundant clone, clippy warning https://rust-lang.github.io/rust-clippy/master/index.html#redundant_clone --- src/descriptor/policy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/descriptor/policy.rs b/src/descriptor/policy.rs index e05134f9..c8df81f5 100644 --- a/src/descriptor/policy.rs +++ b/src/descriptor/policy.rs @@ -1429,7 +1429,7 @@ mod test { ) ); - let mut policy_clone = original_policy.clone(); + let mut policy_clone = original_policy; let psbt: PSBT = deserialize(&base64::decode(ALICE_BOB_SIGNED_PSBT).unwrap()).unwrap(); policy_clone .fill_satisfactions(&psbt, &wallet_desc, &secp)