Skip to content

Commit 9ee4a3f

Browse files
committed
Fixed fmt
1 parent 49535d8 commit 9ee4a3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sdk/pinocchio/src/account_info.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,8 @@ mod tests {
893893

894894
// It should be sound to mutate the data through the data pointer while no other borrows exist
895895
let data_ptr = account_info.data_ptr();
896-
#[allow(clippy::needless_borrow)] // This is opposite in nightly clippy, it's an error to not have the ref
896+
// This is opposite in nightly clippy, it's an error to not have the ref
897+
#[allow(clippy::needless_borrow)]
897898
unsafe {
898899
assert_eq!((&*data_ptr.as_ptr()).len(), 1);
899900
(*data_ptr.as_ptr())[0] = 1;

0 commit comments

Comments
 (0)