add clippy allow so Protected can work correctly

This commit is contained in:
brxken128 2022-12-07 15:04:57 +00:00
parent 10cc8a28bf
commit cbadbec123

View File

@ -445,6 +445,7 @@ impl KeyManager {
/// This re-encrypts master keys so they can be imported from a key backup into the current key manager. /// This re-encrypts master keys so they can be imported from a key backup into the current key manager.
/// ///
/// It returns a `Vec<StoredKey>` so they can be written to Prisma /// It returns a `Vec<StoredKey>` so they can be written to Prisma
#[allow(clippy::needless_pass_by_value)]
pub fn import_keystore_backup( pub fn import_keystore_backup(
&self, &self,
master_password: Protected<String>, // at the time of the backup master_password: Protected<String>, // at the time of the backup