Skip to content

Commit a75166c

Browse files
Update "desirable property"
1 parent e649309 commit a75166c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3627-match-ergonomics-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ over an edition.
278278
The proposed rules for new editions uphold the following property:
279279

280280
> For any two nested patterns `$pat0` and `$pat1`, such that `$pat1` uses match
281-
> ergonomics only (no explicit `ref`/`ref mut`), and valid pattern match
281+
> ergonomics only (no explicit `ref`/`ref mut`), and pattern match
282282
> `let $pat0($pat1(binding)) = scrut`, either:
283283
>
284284
> - `let $pat0(temp) = scrut; let $pat1(binding) = temp;` compiles, with the

0 commit comments

Comments
 (0)