about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-08-21 07:28:25 +0200
committerTshepang Mbambo <tshepang@gmail.com>2023-08-21 07:28:56 +0200
commitca19099ff8eaa4d66726ae52bd977113ca931fe2 (patch)
treeb485a7742e7c00591031d861786c7ddc6c989fdc /src/doc
parent44fc09bce60b1d83224aed77e78c138073776603 (diff)
downloadrust-ca19099ff8eaa4d66726ae52bd977113ca931fe2.tar.gz
rust-ca19099ff8eaa4d66726ae52bd977113ca931fe2.zip
fix link
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/rustc-dev-guide/src/ty.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/ty.md b/src/doc/rustc-dev-guide/src/ty.md
index c59b0d81986..b7a2ba8e409 100644
--- a/src/doc/rustc-dev-guide/src/ty.md
+++ b/src/doc/rustc-dev-guide/src/ty.md
@@ -204,7 +204,7 @@ inference variables using [`fresh_args_for_item`]. This can be used to answer qu
 like "can `Vec<T>` for any `T` be unified with `Vec<u32>`?".
 
 [type-inference]: ./type-inference.md#creating-an-inference-context
-[`fresh_args_for_item`]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.fresh_args_for_item
+[`fresh_args_for_item`]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.fresh_substs_for_item
 
 ## `ty::TyKind` Variants