about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-04-19 16:04:22 +0200
committerTshepang Mbambo <tshepang@gmail.com>2025-04-19 16:04:22 +0200
commit07b7f00a9e961fdf66ece2ecf70ae1dba505f10e (patch)
tree86e6a9ab8518740ca6ce8deae8f409ee9c309f20 /src/doc/rustc-dev-guide
parent3b2302ec0d17cbc94ef68b15f0bb6524f8b67f3f (diff)
downloadrust-07b7f00a9e961fdf66ece2ecf70ae1dba505f10e.tar.gz
rust-07b7f00a9e961fdf66ece2ecf70ae1dba505f10e.zip
fix broken link
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/hir.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/hir.md b/src/doc/rustc-dev-guide/src/hir.md
index 65779f3129d..0c1c9941572 100644
--- a/src/doc/rustc-dev-guide/src/hir.md
+++ b/src/doc/rustc-dev-guide/src/hir.md
@@ -144,7 +144,7 @@ that `n` must be some HIR expression, you can do
 Finally, you can find the parents of nodes, via
 calls like [`tcx.parent_hir_node(n)`][parent_hir_node].
 
-[get_parent_item]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.parent_hir_node
+[parent_hir_node]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.parent_hir_node
 
 
 ## HIR Bodies