Format with clippy

pull/448/head
vdang 2 years ago
parent 86e2d77671
commit 96f53a1006
No known key found for this signature in database
GPG Key ID: 48DFAD25A8F31057

@ -45,7 +45,7 @@ impl KeyDerivation {
fn create_or_get_salt(salt: &mut [u8], salt_path: &PathBuf) {
if salt_path.is_file() {
// Get existing salt
let tmp = std::fs::read(&salt_path).unwrap();
let tmp = std::fs::read(salt_path).unwrap();
salt.clone_from_slice(&tmp);
} else {
// Generate new salt

Loading…
Cancel
Save