Skip to content

Commit 3a23ec2

Browse files
committed
fix broken link
1 parent 87eb26f commit 3a23ec2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hir.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ that `n` must be some HIR expression, you can do
144144
Finally, you can find the parents of nodes, via
145145
calls like [`tcx.parent_hir_node(n)`][parent_hir_node].
146146

147-
[get_parent_item]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.parent_hir_node
147+
[parent_hir_node]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.TyCtxt.html#method.parent_hir_node
148148

149149

150150
## HIR Bodies

0 commit comments

Comments
 (0)