From 7ce780cde33a7c8de9f603ef2633757668cd4678 Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Thu, 21 Jan 2021 22:49:46 -0500 Subject: [PATCH 1/2] Add link to promotion.md --- src/mir/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir/index.md b/src/mir/index.md index 5d1376975..89f9824af 100644 --- a/src/mir/index.md +++ b/src/mir/index.md @@ -254,7 +254,7 @@ but [you can read about those below](#promoted)). ### Promoted constants -*to be written* +See the const-eval WG's README on [promotion](https://github.com/rust-lang/const-eval/blob/master/promotion.md). [mir]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/index.html From 013fc63de0d9e8fd0f302268d37d2fa4e238293e Mon Sep 17 00:00:00 2001 From: Joshua Nelson Date: Thu, 21 Jan 2021 23:16:09 -0500 Subject: [PATCH 2/2] Improve link text Co-authored-by: Camelid --- src/mir/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mir/index.md b/src/mir/index.md index 89f9824af..306d2abfd 100644 --- a/src/mir/index.md +++ b/src/mir/index.md @@ -254,7 +254,7 @@ but [you can read about those below](#promoted)). ### Promoted constants -See the const-eval WG's README on [promotion](https://github.com/rust-lang/const-eval/blob/master/promotion.md). +See the const-eval WG's [docs on promotion](https://github.com/rust-lang/const-eval/blob/master/promotion.md). [mir]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/index.html