From 72105a7085e4409ce664933b57fc19cd9d87211b Mon Sep 17 00:00:00 2001 From: Matt Date: Wed, 29 Jul 2026 18:31:50 +0000 Subject: [PATCH] Fix keyring Entry::new_with_target argument count --- src-tauri/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/connection.rs b/src-tauri/src/connection.rs index b83db2e..f4046a0 100644 --- a/src-tauri/src/connection.rs +++ b/src-tauri/src/connection.rs @@ -25,7 +25,7 @@ fn keyring_service() -> &'static str { fn keyring_entry(connection_id: &str, field: &str) -> keyring::Entry { let key = format!("{}:{}", connection_id, field); keyring::Entry::new(keyring_service(), &key) - .unwrap_or_else(|_| keyring::Entry::new_with_target(&key, keyring_service(), "", "").expect("failed to create keyring entry")) + .expect("failed to create keyring entry") } pub struct ConnectionManager {