Skip to content

Commit 42b5442

Browse files
committed
clippy
1 parent f0bded5 commit 42b5442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/atuin-desktop-runtime/src/ssh/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ impl Session {
644644

645645
/// Find a companion certificate file for a given key path
646646
/// OpenSSH convention: certificate for `id_ed25519` is `id_ed25519-cert.pub`
647-
async fn find_certificate_for_key(key_path: &PathBuf) -> Option<PathBuf> {
647+
async fn find_certificate_for_key(key_path: &Path) -> Option<PathBuf> {
648648
let key_name = key_path.file_name()?.to_str()?;
649649
let cert_name = format!("{}-cert.pub", key_name);
650650
let cert_path = key_path.parent()?.join(cert_name);

0 commit comments

Comments
 (0)