diff --git a/src/signature.rs b/src/signature.rs index 15771e280a596f..73d31b2db1311c 100644 --- a/src/signature.rs +++ b/src/signature.rs @@ -124,8 +124,7 @@ impl GenKeys2 { pub fn gen_n_keys(&self, n_keys: i64, tokens_per_user: i64) -> Vec<(Vec, i64)> { let keys = self.gen_n_seeds(n_keys); - let users: Vec<_> = keys - .into_par_iter() + let users: Vec<_> = keys.into_par_iter() .map(|seed| { let new: GenKeys2 = GenKeys2::new(&seed[..]); let pkcs8 = KeyPair::generate_pkcs8(&new).unwrap().to_vec(); @@ -144,7 +143,6 @@ impl SecureRandom for GenKeys2 { } } - #[cfg(all(feature = "unstable", test))] mod tests { extern crate test;