fix clippy

This commit is contained in:
mbecker20
2025-10-02 02:34:23 -07:00
parent f228cd31f3
commit c9c4ac47ee

View File

@@ -43,7 +43,6 @@ impl EncodedKeyPair {
pub fn load_maybe_generate_private_key(
path: &str,
) -> anyhow::Result<String> {
let path = path.as_ref();
let path = PathBuf::from_str(path)
.with_context(|| format!("Invalid private key path: {path:?}"))?;
if path