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.
28
28
29
29
### Non-` Copy ` array initialization
30
30
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
35
36
36
37
### ` #[rustc_args_required_const(...)] `
37
38
You can’t perform that action at this time.
0 commit comments