Very minor grammatical fixes.

This commit is contained in:
Alexander Regueiro 2018-02-04 21:24:50 +00:00 committed by Who? Me?!
parent 8a0935c485
commit 6bacd33a0b
2 changed files with 6 additions and 6 deletions

View File

@ -135,7 +135,7 @@ a safe approximation, so that is what you get back.
You can also find various common types in the `tcx` itself by accessing
`tcx.types.bool`, `tcx.types.char`, etc (see `CommonTypes` for more).
### Beyond types: Other kinds of arena-allocated data structures
### Beyond types: other kinds of arena-allocated data structures
In addition to types, there are a number of other arena-allocated data
structures that you can allocate, and which are found in this

View File

@ -9,10 +9,10 @@ and higher-ranked types.
We use the notation `?T` to refer to inference variables, also called
existential variables.
We use the term "region" and "lifetime" interchangeably. Both refer to
We use the terms "region" and "lifetime" interchangeably. Both refer to
the `'a` in `&'a T`.
The term "bound region" refers to regions bound in a function
The term "bound region" refers to a region bound in a function
signature, such as the `'a` in `for<'a> fn(&'a u32)`. A region is
"free" if it is not bound.