Skip to content

Commit 353e038

Browse files
authored
Merge pull request #1371 from macaujack/patch-1
Typo: 'a' to 'an' in destructors.md
2 parents 5ca365e + 193aa55 commit 353e038

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)