From 66a7e732037f4ef0e010b1f5cf8f432655a51620 Mon Sep 17 00:00:00 2001 From: Hongbo <12580159+ya0guang@users.noreply.github.com> Date: Tue, 5 Apr 2022 18:47:46 -0400 Subject: [PATCH] Update miri.md: correct a minor typo (#1334) --- src/miri.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miri.md b/src/miri.md index dd54f6548..c5de358d2 100644 --- a/src/miri.md +++ b/src/miri.md @@ -88,7 +88,7 @@ evaluation. `_0` always refers to that location directly. After the evaluation is done, the return value is converted from [`Operand`] to [`ConstValue`] by [`op_to_const`]: the former representation is geared towards -what is needed *during* cost evaluation, while [`ConstValue`] is shaped by the +what is needed *during* const evaluation, while [`ConstValue`] is shaped by the needs of the remaining parts of the compiler that consume the results of const evaluation. As part of this conversion, for types with scalar values, even if the resulting [`Operand`] is `Indirect`, it will return an immediate