From 413f3f787c9e8e4c2cb8abd73cdc16cb8d175590 Mon Sep 17 00:00:00 2001 From: est31 Date: Mon, 21 Feb 2022 08:28:20 +0100 Subject: Fix typo Co-authored-by: lcnr --- compiler/rustc_const_eval/src/interpret/memory.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_const_eval/src/interpret/memory.rs b/compiler/rustc_const_eval/src/interpret/memory.rs index a1f94b095cf..73e7d862ad6 100644 --- a/compiler/rustc_const_eval/src/interpret/memory.rs +++ b/compiler/rustc_const_eval/src/interpret/memory.rs @@ -1047,7 +1047,7 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> Memory<'mir, 'tcx, M> { // We need the `dest` ptr for the next operation, so we get it now. // We already did the source checks and called the hooks so we are good to return early. let Some((dest_alloc_id, dest_offset, dest)) = dest_parts else { - // Zero-sized *destiantion*. + // Zero-sized *destination*. return Ok(()); }; -- cgit 1.4.1-3-g733a5