Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ApprenticeofEnder committed Feb 7, 2024
1 parent a557155 commit 9af84ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pass.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ impl PasswordEntry {
}

/// All calls to this function must be followed by secret.zeroize()
fn update_internal(&self, secret: &String, store: &PasswordStore) -> Result<()> {
fn update_internal(&self, secret: &str, store: &PasswordStore) -> Result<()> {
if !store.valid_gpg_signing_keys.is_empty() {
store.verify_gpg_id_files()?;
}
Expand Down

0 comments on commit 9af84ec

Please sign in to comment.