Skip to content

Commit e1dccf9

Browse files
committed
Updated to reflect alpha-rename of constant/static items section.
1 parent 7b6e906 commit e1dccf9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/rust.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,10 +1672,8 @@ A [_vector_](#vector-types) _expression_ is written by enclosing zero or
16721672
more comma-separated expressions of uniform type in square brackets.
16731673

16741674
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 -->
1675+
must be a constant expression that can be evaluated at compile time, such
1676+
as a [literal](#literals) or a [static item](#static-items).
16791677

16801678
~~~~
16811679
[1, 2, 3, 4];

0 commit comments

Comments
 (0)