From 0e3fafaea7e6e5d12ef075ff37cb60af34ca6d05 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Sun, 22 Dec 2019 13:13:08 +0100 Subject: [PATCH] Typo --- src/librustc_mir/interpret/intern.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/interpret/intern.rs b/src/librustc_mir/interpret/intern.rs index 3ab7c6b891c..dffc8e8256c 100644 --- a/src/librustc_mir/interpret/intern.rs +++ b/src/librustc_mir/interpret/intern.rs @@ -194,7 +194,7 @@ impl<'rt, 'mir, 'tcx, M: CompileTimeMachine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx // Validation has already errored on an invalid vtable pointer so we can safely not // do anything if this is not a real pointer. if let Scalar::Ptr(vtable) = mplace.meta.unwrap() { - // Explitly choose `Immutable` here, since vtables are immutable, even + // Explicitly choose `Immutable` here, since vtables are immutable, even // if the reference of the fat pointer is mutable. self.intern_shallow(vtable.alloc_id, Mutability::Not, None)?; } else {