From 79e88ae9ee6042c01bf88f74252a110b7f69614d Mon Sep 17 00:00:00 2001 From: Andrey Golovizin Date: Wed, 12 Apr 2023 20:31:08 +0200 Subject: [PATCH] Fix clippy warning --- src/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keys.rs b/src/keys.rs index 160a6b6..c894dd5 100644 --- a/src/keys.rs +++ b/src/keys.rs @@ -30,7 +30,7 @@ impl Key { fn load(path: &Path) -> anyhow::Result { let key_data = std::fs::read_to_string(path)?; - Self::try_from_base64(&key_data.trim_end()) + Self::try_from_base64(key_data.trim_end()) } fn save(&self, path: &Path) -> anyhow::Result<()> {