Skip to content

Commit a1b04fb

Browse files
committed
Cargo fmt
1 parent 5f956c9 commit a1b04fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

program/src/processor.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -976,9 +976,7 @@ impl Processor {
976976
/// Checks two pubkeys for equality in a computationally cheap way using
977977
/// `sol_memcmp`
978978
pub fn cmp_pubkeys(a: &Pubkey, b: &Pubkey) -> bool {
979-
unsafe {
980-
sol_memcmp(a.as_ref(), b.as_ref(), PUBKEY_BYTES) == 0
981-
}
979+
unsafe { sol_memcmp(a.as_ref(), b.as_ref(), PUBKEY_BYTES) == 0 }
982980
}
983981

984982
/// Validates owner(s) are present

0 commit comments

Comments
 (0)