Skip to content

Commit 864b6a6

Browse files
committed
Update lib.rs
1 parent ab2efaf commit 864b6a6

File tree

1 file changed

+1
-1
lines changed
  • basics/account-data/pinocchio/program/src

1 file changed

+1
-1
lines changed

basics/account-data/pinocchio/program/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn process_create(
8282
.invoke()?;
8383

8484
let mut address_info_data = address_info.try_borrow_mut_data()?;
85-
address_info_data.copy_from_slice(&instruction_data);
85+
address_info_data.copy_from_slice(instruction_data);
8686

8787
Ok(())
8888
}

0 commit comments

Comments
 (0)