Skip to content

Commit f58f8c5

Browse files
committed
Fix typos in patterns spec.
1 parent 39ffbb0 commit f58f8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accepted/future-releases/0546-patterns/feature-specification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ It is a compile-time error if:
624624
* Any two keys in the map are [structurally equivalent][]. *Duplicate
625625
keys are likely to be a copy/paste error. If you want to match the value
626626
associated with some key against multiple patterns, you can always use an
627-
`||` pattern.*s
627+
`&&` pattern.*
628628

629629
*Note that `mapPatternEntries` is not optional, which means it is an error for
630630
a map pattern to be empty.*

0 commit comments

Comments
 (0)