We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6e906 commit e1dccf9Copy full SHA for e1dccf9
doc/rust.md
@@ -1672,10 +1672,8 @@ A [_vector_](#vector-types) _expression_ is written by enclosing zero or
1672
more comma-separated expressions of uniform type in square brackets.
1673
1674
In the `[expr ',' ".." expr]` form, the expression after the `".."`
1675
-must be an expression form that can be evaluated at compile time, such
1676
-as a [literal](#literals) or a [constant](#constants).
1677
-
1678
-<!--- TODO: elaborate the actual subgrammar for constant expressions -->
+must be a constant expression that can be evaluated at compile time, such
+as a [literal](#literals) or a [static item](#static-items).
1679
1680
~~~~
1681
[1, 2, 3, 4];
0 commit comments