Very minor grammatical fixes.
This commit is contained in:
parent
7c158a6acc
commit
152c08b1c9
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue