diff options
| author | Tshepang Mbambo <tshepang@gmail.com> | 2023-08-21 07:20:06 +0200 |
|---|---|---|
| committer | Tshepang Mbambo <tshepang@gmail.com> | 2023-08-21 07:28:56 +0200 |
| commit | 44fc09bce60b1d83224aed77e78c138073776603 (patch) | |
| tree | 76eebd9f87f96926ed850efa96d107440377315e /src/doc/rustc-dev-guide | |
| parent | 797445a231b0860ca0eea691f01d07f2aa845f51 (diff) | |
| download | rust-44fc09bce60b1d83224aed77e78c138073776603.tar.gz rust-44fc09bce60b1d83224aed77e78c138073776603.zip | |
missing space
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/memory.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/memory.md b/src/doc/rustc-dev-guide/src/memory.md index d32310d34b7..4072d4f33c6 100644 --- a/src/doc/rustc-dev-guide/src/memory.md +++ b/src/doc/rustc-dev-guide/src/memory.md @@ -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: - [`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]`). - [`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 |
