1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-26 00:10:27 +00:00

Merge pull request #902 from sogaiu/tweak-match-doc

Tweak match docstring
This commit is contained in:
Calvin Rose 2021-12-25 07:41:58 -06:00 committed by GitHub
commit 199ec36d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1676,8 +1676,8 @@
* symbol -- a pattern that is a symbol will match anything, binding `x`'s
value to that symbol.
* array -- an array will match only if all of its elements match the
corresponding elements in `x`.
* array or bracket tuple -- an array or bracket tuple will match only if
all of its elements match the corresponding elements in `x`.
* table or struct -- a table or struct will match if all values match with
the corresponding values in `x`.