Skip to content

Commit 8da284a

Browse files
author
Alfie John
committed
docs: typo
1 parent f4f10db commit 8da284a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3423,7 +3423,7 @@ Used inside an array pattern, `..` stands for any number of elements, when the
34233423
`advanced_slice_patterns` feature gate is turned on. This wildcard can be used
34243424
at most once for a given array, which implies that it cannot be used to
34253425
specifically match elements that are at an unknown distance from both ends of a
3426-
array, like `[.., 42, ..]`. If followed by a variable name, it will bind the
3426+
array, like `[.., 42, ..]`. If preceded by a variable name, it will bind the
34273427
corresponding slice to the variable. Example:
34283428

34293429
```

0 commit comments

Comments
 (0)