Skip to content

Commit

Permalink
Fix a broken design docs link about unused substs bug
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
JohnTitor authored and tshepang committed Nov 20, 2022
1 parent f98f1e5 commit 32bc13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ the constant doesn't use them in any way. This can cause
[`ty::Const`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/struct.Const.html
[`ty::ConstKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.ConstKind.html
[`ty::TyKind`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/enum.TyKind.html
[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/blob/master/design-docs/anon-const-substs.md#unused-substs
[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/issues/33

0 comments on commit 32bc13e

Please sign in to comment.