Skip to content

Commit 9061333

Browse files
committedAug 21, 2023
fix link
1 parent 745d796 commit 9061333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/ty.md

+1-1
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)