crypto: Remove some unneeded clones.
parent
23126c4e48
commit
1bd15b9fdd
|
@ -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())),
|
||||||
|
|
Loading…
Reference in New Issue