From 6da8503dff7b8792916bf6cd489e92c49ea7e868 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 17 Aug 2020 14:11:03 +0200 Subject: [PATCH] fix typo Co-authored-by: Oliver Scherer --- src/librustc_mir/interpret/machine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/interpret/machine.rs b/src/librustc_mir/interpret/machine.rs index edd9b7a9e62..3718da1723b 100644 --- a/src/librustc_mir/interpret/machine.rs +++ b/src/librustc_mir/interpret/machine.rs @@ -122,7 +122,7 @@ pub trait Machine<'mir, 'tcx>: Sized { /// Whether memory accesses should be alignment-checked. fn enforce_alignment(memory_extra: &Self::MemoryExtra) -> bool; - /// Whether, when cehcking alignment, we should `force_int` and thus support + /// Whether, when checking alignment, we should `force_int` and thus support /// custom alignment logic based on whatever the integer address happens to be. fn force_int_for_alignment_check(memory_extra: &Self::MemoryExtra) -> bool;