Skip to content

Commit e182889

Browse files
authored
Merge pull request #826 from Veykril/patch-1
Fix sentence mistake in array-expr.md
2 parents 9149abe + 65c5234 commit e182889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/array-expr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ brackets. This produces an array containing each of these values in the
1616
order they are written.
1717

1818
Alternatively there can be exactly two expressions inside the brackets,
19-
separated by a semi-colon. The expression after the `;` must be a have type
19+
separated by a semi-colon. The expression after the `;` must have type
2020
`usize` and be a [constant expression],
2121
such as a [literal](../tokens.md#literals) or a [constant
2222
item](../items/constant-items.md). `[a; b]` creates an array containing `b`

0 commit comments

Comments
 (0)