Skip to content

Commit 193aa55

Browse files
authored
Typo: 'a' to 'an' in destructors.md
1 parent 5ca365e commit 193aa55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/destructors.md

+1-1
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)