Skip to content

Commit 94bd1b1

Browse files
committed
fix link
1 parent 40a4798 commit 94bd1b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ to that buffer is freed and our `'tcx` references would be invalid.
4040
In addition to types, there are a number of other arena-allocated data structures that you can
4141
allocate, and which are found in this module. Here are a few examples:
4242

43-
- [`GenericArgs`][subst], allocated with `mk_args` – this will intern a slice of types, often used
43+
- [`GenericArgs`], allocated with `mk_args` – this will intern a slice of types, often used
4444
to specify the values to be substituted for generics args(e.g. `HashMap<i32, u32>` would be
4545
represented as a slice `&'tcx [tcx.types.i32, tcx.types.u32]`).
4646
- [`TraitRef`], typically passed by value – a **trait reference** consists of a reference to a trait

0 commit comments

Comments
 (0)