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.
2 parents 0da105a + 8bd5202 commit 3afa0b9Copy full SHA for 3afa0b9
doc/rust.md
@@ -3054,8 +3054,7 @@ assert!(b != "world");
3054
The vector type constructor represents a homogeneous array of values of a given type.
3055
A vector has a fixed size.
3056
(Operations like `vec.push` operate solely on owned vectors.)
3057
-A vector type can be annotated with a _definite_ size,
3058
-written with a trailing asterisk and integer literal, such as `[int * 10]`.
+A vector type can be annotated with a _definite_ size, such as `[int, ..10]`.
3059
Such a definite-sized vector type is a first-class type, since its size is known statically.
3060
A vector without such a size is said to be of _indefinite_ size,
3061
and is therefore not a _first-class_ type.
0 commit comments