Skip to content

Commit eabe066

Browse files
committed
Typo
1 parent 405dbc6 commit eabe066

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
@@ -195,7 +195,7 @@ impl<'rt, 'mir, 'tcx, M: CompileTimeMachine<'mir, 'tcx>> ValueVisitor<'mir, 'tcx
195195
// Validation has already errored on an invalid vtable pointer so we can safely not
196196
// do anything if this is not a real pointer.
197197
if let Scalar::Ptr(vtable) = mplace.meta.unwrap() {
198-
// Explitly choose `Immutable` here, since vtables are immutable, even
198+
// Explicitly choose `Immutable` here, since vtables are immutable, even
199199
// if the reference of the fat pointer is mutable.
200200
self.intern_shallow(vtable.alloc_id, Mutability::Not, None)?;
201201
} else {

0 commit comments

Comments
 (0)