Skip to content

Commit 99dfd68

Browse files
oli-obkAaron1011
andcommitted
s/derefernce/dereference
Co-Authored-By: Aaron1011 <aa1ronham@gmail.com>
1 parent b3a1e12 commit 99dfd68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fn_call.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ pub trait EvalContextExt<'a, 'mir, 'tcx: 'a + 'mir>: crate::MiriEvalContextExt<'
236236
let data_ptr = payload_dyn.to_scalar_ptr()?;
237237
this.memory().check_align(vtable_ptr.into(), this.tcx.data_layout.pointer_align.abi)?;
238238

239-
// Now, we derefernce the vtable pointer.
239+
// Now, we dereference the vtable pointer.
240240
let alloc = this.memory().get(vtable_ptr.alloc_id)?;
241241

242242
// Finally, we extract the pointer to 'box_me_up'.

0 commit comments

Comments
 (0)