Modify rustfmt file

This commit is contained in:
Jake Howard committed 2021-04-06 21:54:42 +01:00
1 parent 93c881a7a9
commit 3ab90259f2
30 files changed
+169 -395

No files matched your search

+1 -3
View File
@@ -47,9 +47,7 @@ pub fn get_random_64() -> Vec<u8> {
pub fn get_random(mut array: Vec<u8>) -> Vec<u8> {
use ring::rand::{SecureRandom, SystemRandom};
SystemRandom::new()
.fill(&mut array)
.expect("Error generating random values");
SystemRandom::new().fill(&mut array).expect("Error generating random values");
array
}