File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ entire program, and each did a particular check of transformation.
9898We are gradually replacing this pass-based code with an alternative
9999setup based on on-demand ** queries** . In the query-model, we work
100100backwards, executing a * query* that expresses our ultimate goal (e.g.,
101- "compiler this crate"). This query in turn may make other queries
101+ "compile this crate"). This query in turn may make other queries
102102(e.g., "get me a list of all modules in the crate"). Those queries
103103make other queries that ultimately bottom out in the base operations,
104104like parsing the input, running the type-checker, and so forth. This
@@ -162,7 +162,7 @@ The compiler uses a number of...idiosyncratic abbreviations and
162162things. This glossary attempts to list them and give you a few
163163pointers for understanding them better.
164164
165- - AST -- the ** abstract syntax tree** produced the ` syntax ` crate; reflects user syntax
165+ - AST -- the ** abstract syntax tree** produced by the ` syntax ` crate; reflects user syntax
166166 very closely.
167167- codegen unit -- when we produce LLVM IR, we group the Rust code into a number of codegen
168168 units. Each of these units is processed by LLVM independently from one another,
You can’t perform that action at this time.
0 commit comments