about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-08-21 07:14:38 +0200
committerTshepang Mbambo <tshepang@gmail.com>2023-08-21 07:28:56 +0200
commit797445a231b0860ca0eea691f01d07f2aa845f51 (patch)
treefc8d4dc23f9e4f2aae0e1e5e6c85041c1fe74ccc /src/doc/rustc-dev-guide
parent583960912ababe19376ff9cf5e0a0c54d591718d (diff)
downloadrust-797445a231b0860ca0eea691f01d07f2aa845f51.tar.gz
rust-797445a231b0860ca0eea691f01d07f2aa845f51.zip
fix link
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/memory.md2
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 b5b72ca2d2f..d32310d34b7 100644
--- a/src/doc/rustc-dev-guide/src/memory.md
+++ b/src/doc/rustc-dev-guide/src/memory.md
@@ -40,7 +40,7 @@ to that buffer is freed and our `'tcx` references would be invalid.
 In addition to types, there are a number of other arena-allocated data structures that you can
 allocate, and which are found in this module. Here are a few examples:
 
-- [`GenericArgs`][subst], 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
 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