Skip to content

Commit 1ad6375

Browse files
committed
use try_for_each
1 parent d1ff593 commit 1ad6375

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

aggregator/src/aggregation/rlc/gates.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,6 @@ impl RlcConfig {
584584
[limb_from_bytes_lo, limb_from_bytes_mid, limb_from_bytes_hi]
585585
.iter()
586586
.zip_eq(crt.limbs())
587-
.map(|(a, b)| region.constrain_equal(a.cell(), b.cell()))
588-
.collect()
587+
.try_for_each(|(a, b)| region.constrain_equal(a.cell(), b.cell()))
589588
}
590589
}

0 commit comments

Comments
 (0)