Skip to content

Commit 547743e

Browse files
committed
Fix typos in src/librustc/README.md
1 parent b796087 commit 547743e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ entire program, and each did a particular check of transformation.
9898
We are gradually replacing this pass-based code with an alternative
9999
setup based on on-demand **queries**. In the query-model, we work
100100
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
102102
(e.g., "get me a list of all modules in the crate"). Those queries
103103
make other queries that ultimately bottom out in the base operations,
104104
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
162162
things. This glossary attempts to list them and give you a few
163163
pointers 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,

0 commit comments

Comments
 (0)