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 2c5876f commit d4eec1fCopy full SHA for d4eec1f
text/0000-new-array-repeat-syntax.md
@@ -7,7 +7,7 @@
7
Under this RFC, the syntax to specify the type of a fixed-length array
8
containing `N` elements of type `T` would be changed to `[T; N]`. Similarly, the
9
syntax to construct an array containing `N` duplicated elements of value `x`
10
-would be changed to `[x, N]`.
+would be changed to `[x; N]`.
11
12
# Motivation
13
0 commit comments