missing space
This commit is contained in:
parent
d197e33e57
commit
57ea2f5ecf
|
|
@ -41,7 +41,7 @@ In addition to types, there are a number of other arena-allocated data structure
|
||||||
allocate, and which are found in this module. Here are a few examples:
|
allocate, and which are found in this module. Here are a few examples:
|
||||||
|
|
||||||
- [`GenericArgs`], allocated with `mk_args` – this will intern a slice of types, often used
|
- [`GenericArgs`], allocated with `mk_args` – this will intern a slice of types, often used
|
||||||
to specify the values to be substituted for generics args(e.g. `HashMap<i32, u32>` would be
|
to specify the values to be substituted for generics args (e.g. `HashMap<i32, u32>` would be
|
||||||
represented as a slice `&'tcx [tcx.types.i32, tcx.types.u32]`).
|
represented as a slice `&'tcx [tcx.types.i32, tcx.types.u32]`).
|
||||||
- [`TraitRef`], typically passed by value – a **trait reference** consists of a reference to a trait
|
- [`TraitRef`], typically passed by value – a **trait reference** consists of a reference to a trait
|
||||||
along with its various type parameters (including `Self`), like `i32: Display` (here, the def-id
|
along with its various type parameters (including `Self`), like `i32: Display` (here, the def-id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue