Skip to content

Commit 7ab184c

Browse files
patterns.md - add word "underscore" to _ paragraph
Add word "underscore" for better search accessibility. `_` is a short, widely-used symbol and I didn't even try to search for it. I think this simple change can prevent someone (would have prevented me) from being confused & asking on Reddit :)
1 parent 5642af8 commit 7ab184c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/patterns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ it is dereferenced and this process repeats.
282282
> _WildcardPattern_ :\
283283
>    `_`
284284
285-
The _wildcard pattern_ matches any value. It is used to ignore values when they don't
285+
The _wildcard pattern_ (an underscore symbol) matches any value. It is used to ignore values when they don't
286286
matter. Inside other patterns it matches a single data field (as opposed to the `..`
287287
which matches the remaining fields). Unlike identifier patterns, it does not copy, move
288288
or borrow the value it matches.

0 commit comments

Comments
 (0)