Skip to content

Commit f85272f

Browse files
committed
integration: Remove redundant parenthesis
clippy emits: warning: unnecessary parentheses around closure body As suggested remove the parentheses.
1 parent f58468d commit f85272f

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)