Skip to content

Commit ed4ab1b

Browse files
Typo: 'a' to 'an' in destructors.md
1 parent e7a94d3 commit ed4ab1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/destructors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ An *extending pattern* is either
284284
* An [identifier pattern] that binds by reference or mutable reference.
285285
* A [struct][struct pattern], [tuple][tuple pattern], [tuple struct][tuple
286286
struct pattern], or [slice][slice pattern] pattern where at least one of the
287-
direct subpatterns is a extending pattern.
287+
direct subpatterns is an extending pattern.
288288

289289
So `ref x`, `V(ref x)` and `[ref x, y]` are all extending patterns, but `x`,
290290
`&ref x` and `&(ref x,)` are not.

0 commit comments

Comments
 (0)