Skip to content

Commit

Permalink
Remove unused lifetime (#12889)
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia authored Jan 15, 2025
1 parent a5dce05 commit 4a1e8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/desktop_native/core/src/password/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use windows::{

const CRED_FLAGS_NONE: u32 = 0;

pub async fn get_password<'a>(service: &str, account: &str) -> Result<String> {
pub async fn get_password(service: &str, account: &str) -> Result<String> {
let target_name = U16CString::from_str(target_name(service, account))?;

let mut credential: *mut CREDENTIALW = std::ptr::null_mut();
Expand Down

0 comments on commit 4a1e8cc

Please sign in to comment.