summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorMika <121306011+MikaT-code@users.noreply.github.com>2023-03-03 13:13:18 +0200
committerGitHub <noreply@github.com>2023-03-03 20:13:18 +0900
commitb16806f29461048bdf3efbdfb99b5d4db25513ce (patch)
tree7e5b88e8d3b890a61f6d0471a1fb56b51d41670b /src/doc/rustc-dev-guide
parentbebe840f1fd7ee0de4a6fcadcd907b9ddfba6460 (diff)
downloadrust-b16806f29461048bdf3efbdfb99b5d4db25513ce.tar.gz
rust-b16806f29461048bdf3efbdfb99b5d4db25513ce.zip
Fixed typing error (#1623)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/const-eval/interpret.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/const-eval/interpret.md b/src/doc/rustc-dev-guide/src/const-eval/interpret.md
index ee044505e10..fbf781b968b 100644
--- a/src/doc/rustc-dev-guide/src/const-eval/interpret.md
+++ b/src/doc/rustc-dev-guide/src/const-eval/interpret.md
@@ -82,7 +82,7 @@ The next statement asserts that said boolean is `0`. In case the assertion
 fails, its error message is used for reporting a compile-time error.
 
 Since it does not fail, `Operand::Immediate(Immediate::Scalar(Scalar::Raw {
-data: 4054, .. }))` is stored in the virtual memory was allocated before the
+data: 4054, .. }))` is stored in the virtual memory it was allocated before the
 evaluation. `_0` always refers to that location directly.
 
 After the evaluation is done, the return value is converted from [`Operand`] to