Merge pull request #41 from mir-protocol/os_rng_to_thread_rng

Switched over from OsRng --> thread_rng
This commit is contained in:
BGluth 2021-05-17 09:15:54 -06:00 committed by GitHub
commit ecce373b2a

View File

@ -267,7 +267,7 @@ pub trait Field:
}
fn rand() -> Self {
Self::rand_from_rng(&mut OsRng)
Self::rand_from_rng(&mut rand::thread_rng())
}
fn rand_vec(n: usize) -> Vec<Self> {