diff --git a/src/vm.rs b/src/vm.rs index 4386ceb4..0b59089d 100644 --- a/src/vm.rs +++ b/src/vm.rs @@ -282,7 +282,7 @@ impl VirtualMachine { } #[cfg(feature = "trace")] - fn print_instruction(&self, instruction: *const crate::instruction::Instruction) { + fn print_instruction(&self, instruction: *const crate::instruction::Instruction) { print!("{:?}: ", unsafe { instruction.offset_from(self.state.current_frame.program.instruction(0).unwrap()) });