Skip to content

Commit 62c18cd

Browse files
pickx1arie1
authored andcommitted
Arie CR: clone -> implicit copy
1 parent 15f34cd commit 62c18cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lang/src/accounts/interface_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ impl<'a, T: AccountSerialize + AccountDeserialize + Clone> InterfaceAccount<'a,
184184

185185
/// CERTORA: used to create a new instance for verification purposes
186186
pub fn new_unchecked(account: Account<'a, T>) -> Self {
187-
let owner = account.info.owner.clone();
187+
let owner = *account.info.owner;
188188
Self { account, owner }
189189
}
190190

0 commit comments

Comments
 (0)