Skip to content

Commit 6604b46

Browse files
cbloodsworthtshepang
authored andcommitted
Fix trivial typo of "query-fied"
"Query-field" should be "Query-fied" - three instances.
1 parent 1bf21e3 commit 6604b46

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/overview.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ queries are cached on disk so that the compiler can tell which queries' results
284284
changed from the last compilation and only redo those. This is how incremental
285285
compilation works.
286286

287-
In principle, for the query-field steps, we do each of the above for each item
287+
In principle, for the query-fied steps, we do each of the above for each item
288288
individually. For example, we will take the `HIR` for a function and use queries
289289
to ask for the `LLVM-IR` for that HIR. This drives the generation of optimized
290290
`MIR`, which drives the borrow checker, which drives the generation of `MIR`, and
@@ -303,11 +303,11 @@ to remain to ensure that unreachable functions still have their errors emitted.
303303
[passes]: https://github.com/rust-lang/rust/blob/e69c7306e2be08939d95f14229e3f96566fb206c/compiler/rustc_interface/src/passes.rs#L791
304304

305305
Moreover, the compiler wasn't originally built to use a query system; the query
306-
system has been retrofitted into the compiler, so parts of it are not query-field
306+
system has been retrofitted into the compiler, so parts of it are not query-fied
307307
yet. Also, LLVM isn't our code, so that isn't querified either. The plan is to
308308
eventually query-fy all of the steps listed in the previous section,
309309
but as of <!-- date-check --> November 2022, only the steps between `HIR` and
310-
`LLVM-IR` are query-field. That is, lexing, parsing, name resolution, and macro
310+
`LLVM-IR` are query-fied. That is, lexing, parsing, name resolution, and macro
311311
expansion are done all at once for the whole program.
312312

313313
One other thing to mention here is the all-important "typing context",

0 commit comments

Comments
 (0)