Skip to content

Commit 40a4798

Browse files
committed
avoid link rot
1 parent 28713ff commit 40a4798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ converting from the `rustc_hir::Ty` to a real `ty::Ty`. You can see that we firs
137137
(`args`). Then we call `type_of` to get a type and call `ty.instantiate(tcx, args)` to get a new
138138
version of `ty` with the args made.
139139

140-
[instantiatex]: https://github.com/rust-lang/rust/blob/master/compiler/rustc_hir_analysis/src/astconv/mod.rs#L905-L927
140+
[instantiatex]: https://github.com/rust-lang/rust/blob/8a562f9671e36cf29c9c794c2646bcf252d55535/compiler/rustc_hir_analysis/src/astconv/mod.rs#L905-L927
141141

142142
**Note on indices:** It is possible for the indices in `Param` to not match with what we expect. For
143143
example, the index could be out of bounds or it could be the index of a lifetime when we were

0 commit comments

Comments
 (0)