Skip to content

Commit 0e03060

Browse files
Fix link to RFC 2203
1 parent 10543e9 commit 0e03060

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

promotion.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@ first context where promotion was done.
2828

2929
### Non-`Copy` array initialization
3030

31-
Another promotion context was introduced in [RFC
32-
2203](https://github.com/rust-rfcs/const-eval/blob/master/const.md). In this
33-
case, we try to promote the initializer in expressions like `[Vec::new(); 32]`,
34-
which allows non-`Copy` types to be used as array initializers.
31+
Another promotion context was introduced in [RFC 2203][]. In this case, we try
32+
to promote the initializer in expressions like `[Vec::new(); 32]`, which allows
33+
non-`Copy` types to be used as array initializers.
34+
35+
[RFC 2203]: https://github.com/rust-lang/rfcs/blob/master/text/2203-const-repeat-expr.md
3536

3637
### `#[rustc_args_required_const(...)]`
3738

0 commit comments

Comments
 (0)