about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-22 13:13:08 +0100
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-12-26 22:50:17 +0100
commit0e3fafaea7e6e5d12ef075ff37cb60af34ca6d05 (patch)
tree7f5d8eb7f82b4796cd50e84a38b155686244e224
parent72ebce0e1b145b58722be88858eea7efbf05566b (diff)
downloadrust-0e3fafaea7e6e5d12ef075ff37cb60af34ca6d05.tar.gz
rust-0e3fafaea7e6e5d12ef075ff37cb60af34ca6d05.zip
Typo
-rw-r--r--src/librustc_mir/interpret/intern.rs2
1 files changed, 1 insertions, 1 deletions
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 {