Skip to content

Commit 32bc13e

Browse files
JohnTitortshepang
authored andcommitted
Fix a broken design docs link about unused substs bug
rust-lang/project-const-generics#21 removed the link. This replaces it with an issue link mentioned on the design docs. Signed-off-by: Yuki Okushi <jtitor@2k36.org>
1 parent f98f1e5 commit 32bc13e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/constants.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,4 @@ the constant doesn't use them in any way. This can cause
7979
[`ty::Const`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.Const.html
8080
[`ty::ConstKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.ConstKind.html
8181
[`ty::TyKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.TyKind.html
82-
[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/blob/master/design-docs/anon-const-substs.md#unused-substs
82+
[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/issues/33

0 commit comments

Comments
 (0)