Skip to content

Commit 911a4f3

Browse files
committed
Make iter_nth_zero clippy happy
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
1 parent 7d79a46 commit 911a4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mock/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ pub fn create_signature(data: &[u8]) -> anyhow::Result<String> {
554554
.alive()
555555
.revoked(false)
556556
.for_signing()
557-
.nth(0)
557+
.next()
558558
.unwrap()
559559
.key()
560560
.clone()

0 commit comments

Comments
 (0)