Typo: 'a' to 'an' in destructors.md

This commit is contained in:
macaujack 2023-06-26 15:53:13 +08:00 committed by GitHub
parent 5ca365eac6
commit 193aa55275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ An *extending pattern* is either
* An [identifier pattern] that binds by reference or mutable reference.
* A [struct][struct pattern], [tuple][tuple pattern], [tuple struct][tuple
struct pattern], or [slice][slice pattern] pattern where at least one of the
direct subpatterns is a extending pattern.
direct subpatterns is an extending pattern.
So `ref x`, `V(ref x)` and `[ref x, y]` are all extending patterns, but `x`,
`&ref x` and `&(ref x,)` are not.