Browse Source

Remove the useless `.to_string()`

pull/62/head
Rodolphe Bréard 3 years ago
parent
commit
e0933d1da6
  1. 2
      acmed/src/storage.rs

2
acmed/src/storage.rs

@ -100,7 +100,7 @@ fn get_file_full_path(
FileType::Account => format!( FileType::Account => format!(
"{account}.{file_type}.{ext}", "{account}.{file_type}.{ext}",
account = b64_encode(&fm.account_name), account = b64_encode(&fm.account_name),
file_type = file_type.to_string(),
file_type = file_type,
ext = "bin" ext = "bin"
), ),
FileType::PrivateKey | FileType::Certificate => { FileType::PrivateKey | FileType::Certificate => {

Loading…
Cancel
Save