From c5a9f0bfe240d6718fefbb8cc3d1e0a4d47571b1 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Sun, 20 Nov 2022 15:06:16 +0900 Subject: [PATCH] Fix a broken design docs link about unused substs bug https://github.com/rust-lang/project-const-generics/pull/21 removed the link. This replaces it with an issue link mentioned on the design docs. Signed-off-by: Yuki Okushi --- src/constants.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.md b/src/constants.md index 4f1027b98..a33a283f3 100644 --- a/src/constants.md +++ b/src/constants.md @@ -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 \ No newline at end of file +[pcg-unused-substs]: https://github.com/rust-lang/project-const-generics/issues/33