Skip to content

Commit

Permalink
One more useless &mut
Browse files Browse the repository at this point in the history
  • Loading branch information
Dentosal committed Feb 7, 2025
1 parent 52431e7 commit 73026fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel-vm/src/interpreter/internal/message_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ fn test_update_memory_output(tx_offset: usize) -> SimpleResult<MemoryInstance> {
*tx.policies_mut() = Policies::default();
*tx.outputs_mut() = vec![Output::default()];
let mut memory: MemoryInstance = vec![0; MEM_SIZE].try_into().unwrap();
update_memory_output(&mut tx, &mut memory, tx_offset, 0).map(|_| memory)
update_memory_output(&tx, &mut memory, tx_offset, 0).map(|_| memory)
}

fn check_memory(result: MemoryInstance, expected: &[(usize, Vec<u8>)]) {
Expand Down

0 comments on commit 73026fa

Please sign in to comment.