about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2017-10-19 23:13:32 +0800
committerkennytm <kennytm@gmail.com>2017-10-20 00:01:55 +0800
commit3477715582e9185435c823bf8ce493fd4d65d132 (patch)
tree47f59fa0cb25825d680e35aa7bd814bc80244f6b
parent44e882cf923d14994090c77d09df4946cc41becf (diff)
parent547743ec6adec83c1f8386d9eb2b692dabac4868 (diff)
downloadrust-3477715582e9185435c823bf8ce493fd4d65d132.tar.gz
rust-3477715582e9185435c823bf8ce493fd4d65d132.zip
Rollup merge of #45376 - topecongiro:fix-typos-in-readme, r=Mark-Simulacrum
Fix typos in src/librustc/README.md
-rw-r--r--src/librustc/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/README.md b/src/librustc/README.md
index 3ac2949b83e..ddf71a06d60 100644
--- a/src/librustc/README.md
+++ b/src/librustc/README.md
@@ -98,7 +98,7 @@ entire program, and each did a particular check of transformation.
 We are gradually replacing this pass-based code with an alternative
 setup based on on-demand **queries**. In the query-model, we work
 backwards, executing a *query* that expresses our ultimate goal (e.g.,
-"compiler this crate"). This query in turn may make other queries
+"compile this crate"). This query in turn may make other queries
 (e.g., "get me a list of all modules in the crate"). Those queries
 make other queries that ultimately bottom out in the base operations,
 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
 things. This glossary attempts to list them and give you a few
 pointers for understanding them better.
 
-- AST -- the **abstract syntax tree** produced the `syntax` crate; reflects user syntax
+- AST -- the **abstract syntax tree** produced by the `syntax` crate; reflects user syntax
   very closely. 
 - codegen unit -- when we produce LLVM IR, we group the Rust code into a number of codegen
   units. Each of these units is processed by LLVM independently from one another,