summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorHongbo <12580159+ya0guang@users.noreply.github.com>2022-04-05 18:47:46 -0400
committerGitHub <noreply@github.com>2022-04-06 07:47:46 +0900
commit690de884e2e7124f0cb4a0f241ff2cb6b5b5e239 (patch)
treebba728997eaf53ab36e5f11f1f7ca521aad9d4d5 /src/doc/rustc-dev-guide
parent86e586bc74a6ada2e33d85be2b8d8975364d6c1b (diff)
downloadrust-690de884e2e7124f0cb4a0f241ff2cb6b5b5e239.tar.gz
rust-690de884e2e7124f0cb4a0f241ff2cb6b5b5e239.zip
Update miri.md: correct a minor typo (#1334)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/miri.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/miri.md b/src/doc/rustc-dev-guide/src/miri.md
index dd54f654839..c5de358d209 100644
--- a/src/doc/rustc-dev-guide/src/miri.md
+++ b/src/doc/rustc-dev-guide/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