crypto: Remove some unneeded clones.

This commit is contained in:
Damir Jelić 2020-08-19 18:04:06 +02:00
parent 23126c4e48
commit 1bd15b9fdd

View file

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