Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ca19099

Browse files
committed
fix link
1 parent 44fc09b commit ca19099

File tree

1 file changed

+1
-1
lines changed
  • src/doc/rustc-dev-guide/src

1 file changed

+1
-1
lines changed

src/doc/rustc-dev-guide/src/ty.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ inference variables using [`fresh_args_for_item`]. This can be used to answer qu
204204
like "can `Vec<T>` for any `T` be unified with `Vec<u32>`?".
205205

206206
[type-inference]: ./type-inference.md#creating-an-inference-context
207-
[`fresh_args_for_item`]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.fresh_args_for_item
207+
[`fresh_args_for_item`]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_infer/infer/struct.InferCtxt.html#method.fresh_substs_for_item
208208

209209
## `ty::TyKind` Variants
210210

0 commit comments

Comments
 (0)