Setup rustfmt for everything and address cargo clippy.
This commit is contained in:
@@ -35,7 +35,7 @@ fn perlin_generate_perm<R>(rng: &mut R) -> Vec<usize>
|
||||
where
|
||||
R: Rng,
|
||||
{
|
||||
let mut p: Vec<usize> = (0..256).map(|i| i).collect();
|
||||
let mut p: Vec<usize> = (0..256).collect();
|
||||
p.shuffle(rng);
|
||||
p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user