Skip to content

Commit 6da8503

Browse files
RalfJungoli-obk
andauthored
fix typo
Co-authored-by: Oliver Scherer <[email protected]>
1 parent 20aea20 commit 6da8503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/machine.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
122122
/// Whether memory accesses should be alignment-checked.
123123
fn enforce_alignment(memory_extra: &Self::MemoryExtra) -> bool;
124124

125-
/// Whether, when cehcking alignment, we should `force_int` and thus support
125+
/// Whether, when checking alignment, we should `force_int` and thus support
126126
/// custom alignment logic based on whatever the integer address happens to be.
127127
fn force_int_for_alignment_check(memory_extra: &Self::MemoryExtra) -> bool;
128128

0 commit comments

Comments
 (0)