Skip to content

Commit

Permalink
Update miri.md: correct a minor typo (rust-lang#1334)
Browse files Browse the repository at this point in the history
  • Loading branch information
ya0guang authored Apr 5, 2022
1 parent 64ccc62 commit 66a7e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/miri.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66a7e73

Please sign in to comment.