From e0933d1da66888b6a2f6933da4cdce67567ebec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sat, 7 May 2022 12:21:44 +0200 Subject: [PATCH] Remove the useless `.to_string()` --- acmed/src/storage.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acmed/src/storage.rs b/acmed/src/storage.rs index 6f17005..a02f9bd 100644 --- a/acmed/src/storage.rs +++ b/acmed/src/storage.rs @@ -100,7 +100,7 @@ fn get_file_full_path( FileType::Account => format!( "{account}.{file_type}.{ext}", account = b64_encode(&fm.account_name), - file_type = file_type.to_string(), + file_type = file_type, ext = "bin" ), FileType::PrivateKey | FileType::Certificate => {