From 81cde64b4921d4e4a23e4afe79b1b390bd294445 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 27 Jun 2022 08:35:25 -0400 Subject: [PATCH] typo Co-authored-by: Oli Scherer --- src/intptrcast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intptrcast.rs b/src/intptrcast.rs index c48ecb3100..2b479fc9b4 100644 --- a/src/intptrcast.rs +++ b/src/intptrcast.rs @@ -213,7 +213,7 @@ impl<'mir, 'tcx> GlobalStateInner { dl.overflowing_offset(base_addr, offset.bytes()).0 } - /// Whena pointer is used for a memory access, this computes where in which allocation the + /// When a pointer is used for a memory access, this computes where in which allocation the /// access is going. pub fn abs_ptr_to_rel( ecx: &MiriEvalContext<'mir, 'tcx>,