Skip to content

Commit 018926c

Browse files
committed
Remove unnecessary parenthesis
Found by clippy, clear the lint warning as suggested.
1 parent 6cd2e4d commit 018926c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoind-tests/tests/test_desc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ fn find_sks_ms<Ctx: ScriptContext>(
315315
.iter_pk()
316316
.filter_map(|pk| {
317317
let i = pks.iter().position(|&x| x.to_public_key() == pk);
318-
i.map(|idx| (sks[idx]))
318+
i.map(|idx| sks[idx])
319319
})
320320
.collect();
321321
sks

0 commit comments

Comments
 (0)