mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2025-12-11 20:15:30 +01:00
add clippy allow so Protected can work correctly
This commit is contained in:
parent
10cc8a28bf
commit
cbadbec123
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user