From 99632e8af6477a1e8d46d198fb7144a5c015a49f Mon Sep 17 00:00:00 2001
From: Piotr Roslaniec
Date: Thu, 31 Aug 2023 22:38:09 +0200
Subject: [PATCH] chore(clippy): fix linter on stable
---
ferveo/src/pvss.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ferveo/src/pvss.rs b/ferveo/src/pvss.rs
index 547bb16c..e4bf1c7c 100644
--- a/ferveo/src/pvss.rs
+++ b/ferveo/src/pvss.rs
@@ -477,7 +477,7 @@ pub fn aggregate_for_decryption(
// We're assuming that in every PVSS instance, the shares are in the same order
.fold(first_share, |acc, shares| {
acc.into_iter()
- .zip_eq(shares.into_iter())
+ .zip_eq(shares)
.map(|(a, b)| (a + b).into())
.collect()
})