Skip to content

Commit 4871588

Browse files
committed
fix comment
1 parent de6d914 commit 4871588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_const_eval/src/interpret/eval_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ impl<'tcx, M: Machine<'tcx>> FnAbiOfHelpers<'tcx> for InterpCx<'tcx, M> {
113113
}
114114
}
115115

116-
/// Test if it is valid for a MIR assignment to assign `src`-typed place to `dest`-typed value.
116+
/// Test if it is valid for a MIR assignment to store a `src`-typed value in a `dest`-typed place.
117117
pub(super) fn mir_assign_valid_types<'tcx>(
118118
tcx: TyCtxt<'tcx>,
119119
typing_env: TypingEnv<'tcx>,

0 commit comments

Comments
 (0)