Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cronokirby committed Nov 2, 2023
1 parent b39ee1c commit 139c43d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/crypto/proof-setup/src/parallel_utils.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use rayon::prelude::{IndexedParallelIterator, IntoParallelIterator};

pub fn transform<A, B, const N: usize>(data: [A; N], f: impl Fn(A) -> B) -> [B; N] {
match data.into_iter().map(f).collect::<Vec<B>>().try_into() {
Ok(x) => x,
Expand Down

0 comments on commit 139c43d

Please sign in to comment.