From 193aa552751505d2a6816a22505865df366097ce Mon Sep 17 00:00:00 2001 From: macaujack <101852015+macaujack@users.noreply.github.com> Date: Mon, 26 Jun 2023 15:53:13 +0800 Subject: [PATCH] Typo: 'a' to 'an' in destructors.md --- src/destructors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/destructors.md b/src/destructors.md index 84aac89d3..17afc3676 100644 --- a/src/destructors.md +++ b/src/destructors.md @@ -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.