clippy
This commit is contained in:
committed by
mergify[bot]
parent
b379004c3b
commit
f59d4f29d9
@@ -76,7 +76,7 @@ pub fn create_and_cache_executor(
|
||||
use_jit: bool,
|
||||
) -> Result<Arc<BpfExecutor>, InstructionError> {
|
||||
let bpf_compute_budget = invoke_context.get_bpf_compute_budget();
|
||||
let mut program = Executable::<BpfError, ThisInstructionMeter>::from_elf(
|
||||
let mut program = <dyn Executable<BpfError, ThisInstructionMeter>>::from_elf(
|
||||
data,
|
||||
None,
|
||||
Config {
|
||||
@@ -921,7 +921,7 @@ mod tests {
|
||||
];
|
||||
let input = &mut [0x00];
|
||||
|
||||
let program = Executable::<BpfError, TestInstructionMeter>::from_text_bytes(
|
||||
let program = <dyn Executable<BpfError, TestInstructionMeter>>::from_text_bytes(
|
||||
program,
|
||||
None,
|
||||
Config::default(),
|
||||
|
@@ -571,9 +571,9 @@ mod tests {
|
||||
offset += size_of::<u64>();
|
||||
|
||||
accounts.push(AccountInfo {
|
||||
key,
|
||||
is_signer,
|
||||
is_writable,
|
||||
key,
|
||||
lamports,
|
||||
data,
|
||||
owner,
|
||||
|
Reference in New Issue
Block a user