Skip to content

Commit c90d9f4

Browse files
committed
chore: address clippy warnings
1 parent 220a73e commit c90d9f4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • aggregation_mode/proof_aggregator/src/backend

aggregation_mode/proof_aggregator/src/backend/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,7 @@ impl ProofAggregator {
179179
let proof_bytes = proof
180180
.merkle_path
181181
.iter()
182-
.map(|e| e.to_vec())
183-
.flatten()
182+
.flat_map(|e| e.to_vec())
184183
.collect::<Vec<_>>();
185184

186185
merkle_paths_for_tasks.push((task_id, proof_bytes))

0 commit comments

Comments
 (0)