Skip to content

Commit 0e3fafa

Browse files
committed
Typo
1 parent 72ebce0 commit 0e3fafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/intern.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ impl<'rt, 'mir, 'tcx, M: CompileTimeMachine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx
194194
// Validation has already errored on an invalid vtable pointer so we can safely not
195195
// do anything if this is not a real pointer.
196196
if let Scalar::Ptr(vtable) = mplace.meta.unwrap() {
197-
// Explitly choose `Immutable` here, since vtables are immutable, even
197+
// Explicitly choose `Immutable` here, since vtables are immutable, even
198198
// if the reference of the fat pointer is mutable.
199199
self.intern_shallow(vtable.alloc_id, Mutability::Not, None)?;
200200
} else {

0 commit comments

Comments
 (0)