about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorflash <audrey@gobaco.com>2024-08-19 11:08:49 -0700
committerGitHub <noreply@github.com>2024-08-20 02:08:49 +0800
commit7d61151da84de0dfa9303ea41b547d7941d850e5 (patch)
tree38cfff8937ae90c1764c5c1cc728ba03dc1f2d4d /src/doc/rustc-dev-guide
parentb07ea243cf03fd56e9fe40beaa1bfde68816ad06 (diff)
downloadrust-7d61151da84de0dfa9303ea41b547d7941d850e5.tar.gz
rust-7d61151da84de0dfa9303ea41b547d7941d850e5.zip
fix typo (#2043)
line 320:
original: "valtree back a to MIR constant"
updated: "valtree back to a MIR constant"
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/mir/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/index.md b/src/doc/rustc-dev-guide/src/mir/index.md
index 7d7475b17ce..19b1412c531 100644
--- a/src/doc/rustc-dev-guide/src/mir/index.md
+++ b/src/doc/rustc-dev-guide/src/mir/index.md
@@ -317,7 +317,7 @@ compile-time and thus we cannot make any assumptions about them. References on t
 ignore their address and just look at the backing value. We must make sure that the pointer values
 of the references are not observable at compile time. We thus encode `&42` exactly like `42`.
 Any conversion from
-valtree back a to MIR constant value must reintroduce an actual indirection. At codegen time the
+valtree back to a MIR constant value must reintroduce an actual indirection. At codegen time the
 addresses may be deduplicated between multiple uses or not, entirely depending on arbitrary
 optimization choices.