File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments