crypto: Remove some unneeded clones.
This commit is contained in:
parent
23126c4e48
commit
1bd15b9fdd
1 changed files with 2 additions and 2 deletions
|
@ -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())),
|
||||
|
|
Loading…
Reference in a new issue