File tree 1 file changed +2
-2
lines changed
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.
98
98
We are gradually replacing this pass-based code with an alternative
99
99
setup based on on-demand ** queries** . In the query-model, we work
100
100
backwards, 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
102
102
(e.g., "get me a list of all modules in the crate"). Those queries
103
103
make other queries that ultimately bottom out in the base operations,
104
104
like parsing the input, running the type-checker, and so forth. This
@@ -162,7 +162,7 @@ The compiler uses a number of...idiosyncratic abbreviations and
162
162
things. This glossary attempts to list them and give you a few
163
163
pointers for understanding them better.
164
164
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
166
166
very closely.
167
167
- codegen unit -- when we produce LLVM IR, we group the Rust code into a number of codegen
168
168
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