crypto: Remove some unneeded clones.

master
Damir Jelić 2020-08-19 18:04:06 +02:00
parent 23126c4e48
commit 1bd15b9fdd
1 changed files with 2 additions and 2 deletions

View File

@ -544,14 +544,14 @@ mod test {
); );
let first = Device { let first = Device {
inner: first.clone(), inner: first,
verification_machine: verification_machine.clone(), verification_machine: verification_machine.clone(),
own_identity: Some(identity.clone()), own_identity: Some(identity.clone()),
device_owner_identity: Some(UserIdentities::Own(identity.clone())), device_owner_identity: Some(UserIdentities::Own(identity.clone())),
}; };
let second = Device { let second = Device {
inner: second.clone(), inner: second,
verification_machine, verification_machine,
own_identity: Some(identity.clone()), own_identity: Some(identity.clone()),
device_owner_identity: Some(UserIdentities::Own(identity.clone())), device_owner_identity: Some(UserIdentities::Own(identity.clone())),