Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
garious committed May 12, 2018
1 parent 4eb1bc0 commit c308a64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/signature.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ impl GenKeys2 {
pub fn gen_n_keys(&self, n_keys: i64, tokens_per_user: i64) -> Vec<(Vec<u8>, 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();
Expand All @@ -144,7 +143,6 @@ impl SecureRandom for GenKeys2 {
}
}


#[cfg(all(feature = "unstable", test))]
mod tests {
extern crate test;
Expand Down

0 comments on commit c308a64

Please sign in to comment.