commit 1841203fbdb5eba7afd66d80c2c8f92bbdea021e
parent 25f66e0b102edf9acaa2a32d469ed953036b3620
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date: Fri, 5 Apr 2024 19:32:58 -0400
run rustfmt
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/rust/src/main.rs b/rust/src/main.rs
@@ -1,6 +1,6 @@
use rand_core::SeedableRng;
+use rand_distr::{Distribution, Normal};
use rand_pcg::Pcg64Mcg;
-use rand_distr::{Normal, Distribution};
// use rand::thread_rng;
// use rand::prelude::*
@@ -14,5 +14,3 @@ fn main() {
let v = normal.sample(&mut rng);
println!("{} is from a N(2, 9) distribution", v)
}
-
-