More nightly clippy fixes

This commit is contained in:
Michael Vines
2021-06-18 14:06:14 -07:00
parent 4a12c715a3
commit 1b7f6d2bc0
5 changed files with 7 additions and 15 deletions

View File

@ -71,7 +71,7 @@ fn process_instruction(
AccountMeta::new_readonly(*accounts[3].key, true),
],
);
invoke(&instruction, &accounts)?;
invoke(&instruction, accounts)?;
let instruction = Instruction::new_with_bytes(
*program_id,
@ -83,7 +83,7 @@ fn process_instruction(
AccountMeta::new(*accounts[3].key, false),
],
);
invoke(&instruction, &accounts)?;
invoke(&instruction, accounts)?;
assert_eq!(accounts[2].try_borrow_mut_data()?[0], 3);
assert_eq!(accounts[3].try_borrow_mut_data()?[0], 3);
}