Fix clippy warning

This commit is contained in:
Andrey Golovizin 2023-04-12 20:31:08 +02:00
parent 85cce35d59
commit 79e88ae9ee

View file

@ -30,7 +30,7 @@ impl Key {
fn load(path: &Path) -> anyhow::Result<Self> {
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<()> {